Hi,
Saman:x:501:100:Mr.Spammer:/home/Mister Spammer:/bin/bash
what are x and 501?
as i know 501 is the USER ID, how can i manually set it when i create users.
(as i do for goup id -g & also the file that keeps information /etc/group)
any helps would be thankful
adduser-(related defs in /etc/passwd)
Re: adduser-(related defs in /etc/passwd)
X is your password, or rather not your password (as it's actually stored in /etc/shadow as an encrypted hash).
You can specify the UID with the -u (--uid) option. See man useradd.
You can specify the UID with the -u (--uid) option. See man useradd.
-
- Posts: 73
- Joined: 2008/09/19 19:03:37