Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
System Settings>Users and Groups - added a new admin user.
Now I want to delete a previous admin user but the Delete button remains greyed out and inoperative even when that user is highlighted in the list of users.
OK, I restarted. Now, if I click on the new admin user I added, the Delete button becomes live and I could use it. However, when I click on the original admin user that was set up when I installed Mint 18.l, the Delete button remains greyed out and inactive.
This isn't a big deal, it's just my home computer and all I really wanted to do is change that original user's name.
I understand that there has to be a root, but if that root user shouldn't be deleted, can its name at least be changed? BTW, Microsoft says don't touch it but I've never heard that from Linux users.
Oh, was it literally root? VeryVERY loosely think of root as the OS itself
Jeremy is "root" of LQ; there'd be NO lq if we delete him
The Spirit of Linux seems to be pushing you to spend a bit of DDGoo time
peeking at a little /etc/passwd 1st line (root) uid 0 beginner tutorial
I don't think you mean root; please confirm.
M$ doesn't have the username "root" as far as i know.
Changing root name would be like changing linux name to puzzle.
"LinuxPuzzle is better than M$Win. What LinuxPuzzle do you prefer?"
I understand that there has to be a root, but if that root user shouldn't be deleted, can its name at least be changed? BTW, Microsoft says don't touch it but I've never heard that from Linux users.
admin is just an account's privilege to sudo, NOT a username (I think)
Quote:
Originally Posted by pan64
So don't touch that.
Don't touch Puzzle? Puzzle is fun to play in Package VirtualBox!!!
MyPuzzle comes without /etc/passwd, so pan64joe can be made uid 0, for a fun=CLIonly Vworld.
Or maybe better not... But LQsearch does find FrankenPuzzleLinux!!!
Reality bottom-line, maybe there's a bugdesign_feature in Mint/UbuGUI/?
Where orig 1st='admin' user can never be deleted, maybe cuz of its initial home files.
Like: /home/joe (pwd in a terminal) So, just create the new username, like user,
And hopefully logging-in as new user (my choice of name for 1st ...)
works like joe did, right after original initial install.
(tho having user name user or anon or myname or "something" or ... is more confusing than joe or lwe etc... Plus can't pick nobody since it is in /etc/passwd already, as a special system uid)
Additional 'concept' note: tho Admin in M$ is more like uid0Danger,
think of 'admin' in Linux as just a MUCH safer just-priv-to-sudo;
root and admin being separate concepts, makes security 'natural'!
(which is probably? a good explanation, tho I can't find simple web refs)
There's a privilege to sudo called admin, but not literally a username admin. That causes the confusion!!!
Last edited by !!!; 10-20-2017 at 04:25 AM.
Reason: Add some links; try the n't TL;dr!!!
Since Mint is based on Ubuntu root is disabled by default. As stated the user created during install is the "administrator" and has sudo privileges. I have never played with deleting the first admin user but did you login as the new user?
Hi... I hope you don't mind this PM (you can always just delete it)
Here, https://www.linuxquestions.org/quest...6/#post5771910
my 1% knowledge of Linux fails me.... How might I: grep root mll.iso ?
(I prob should post ?, but ... mll is DistroWatch/mll or most any other distro)
I started by trying to unzip /boot/<various distro kernels> (for strings|grep root)
I need to web-research how to 'unpack' several ?pieces? in 'the /boot/...'
But do you have any brief magic words here?
My uneducated-guess/thinking is that the kernel doesn't know/have the string "root",
only uid numeric zero. Esp since the mll I love has NO /etc/passwd!!!
UNrelated curiosity (which I call RPN shell): have you ever seen:
>x ls ; <z cat
??? I'm guessing its only use would be: obfuscation & torturing CLIn00bs
Thanks in advance...
You ought to download the source and grep there. But you need to download (and grep) not only the source of kernel, but the sources of all the (system) tools also which may check if that was started as root or as normal user. Probably you are right, it was not hardcoded in the kernel itself.
From the other hand you may try to install a system - probably in a VM - and rename the root user to anything else (in /etc/passwd) and sooner or later you will see the consequences.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.