Originally Posted by canofan I have two passwd lines:
one with a little dot just after the d and one without.
does this make any sense?
another question: could the user name have been changed as well? |
1) You must use (passwd) and not the one with the minus sign (passwd-)
2) User can be any name but not root of course (I have added a list below of names not to be used)
To make it more clear what each character means on the line:
(1) . . . (2). . (3) (4) . (5) . . . . (6) . . . . . (7)
root :
***** :
0 :
0 :
root :
/home/root :
/bin/sh
(1) Login in Name ....
<User Name>
(2) Encrypted Password ...
<if empty then no password>
(3) User Id
(4) Group Id
(5) Comment Field ...
<put same as user_name or anything else>
(6) Home Directory for User ...
<Keep same as original>
(7) Command Interpreter ...
<Init execute, if left empty by default /bin/sh>
List of names not to use:
root, daemon, bin, sys, sync,
games, man, lp, mail, news, uucp,
proxy, www-data, backup, list, irc,
gnats, nobody
Cheers