Results 1 to 3 of 3
What is the user account number when you create a root user account for the system during the installation of any linux distribution? I'm not sure if its 0, 1, ...
- 02-18-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 3
Root User Account Number...?
What is the user account number when you create a root user account for the system during the installation of any linux distribution? I'm not sure if its 0, 1, 10, or 100..
- 02-18-2010 #2
It's always 0.
Code:> id root uid=0(root) gid=0(root) groups=0(root)
Debian GNU/Linux -- You know you want it.
- 02-19-2010 #3
more info
In the way of further information, you can always run
This will display a line of information for each user in the form:Code:cat /etc/passwd
which represents the following information:Code:root:x:0:0::/root:/bin/bash
username -> The username (duh!)Code:username:x:UID:GID::default shell
x -> a placeholder for the password hash, which is stored in /etc/shadow
UID -> User ID number
GID -> Group ID number
default shell -> the default shell for that user


Reply With Quote