Administration – How to Name the ‘Admin’ User

administration

The ubuntu has user "root" of unlimited privileges, apparently, it exists to not be used. The "admin" is already taken by something.

So, assuming the computer is not connected into any sort of omnipresent domain with individual tracking of every person. What would be the default snappy name to slap onto account used for occasional administrative tasks on such computer?

To clarify: suppose there is non-sudoer account named "user" which is used most of the time. The first idea for admin account to pair up with that user is, well, "admin". That's out of possibility on ubuntu. Is there some other generic name for such accounts? I mean vocabulary is not exhausted by the 'root' and 'admin', but those are short, concise and most relevant. What substitutes to those if any, were coined by creators\ agreed by community?

Best Answer

On a default Ubuntu install (checked on my 16.04), the username admin should not be taken yet. However, there can be a system group named admin, which has similar effects as the sudo group. As every new user automatically gets assigned a primary group with the same name as the username, creating a user called admin might fail. It is not recommended to try that name therefore.

Anyway, I am not aware of any other common usernames that are recommended to be used for admin accounts except the obvious administrator and maybe toor (root spelled backwards).

Generally you are free in your name choice, as long as it does not contain any forbidden characters (use only lowercase letters, digits, dots, dashes and underscores). Just make sure your name is not taken yet.

Here's a command to list all existing user names and group names (duplicates eliminated) on your machine for comparison, so that you know what not to take:

grep -hPo '^.+?(?=:)' /etc/passwd /etc/group | sort -u

Just to point it out again, and "admin" user on Ubuntu does not mean a second root-like account. It means a normal unprivileged user account with the addition of some group memberships, like the sudo group which allows you to run commands as root using the sudo command, and a few other less relevant ones.

Related older questions of mine: