passwd command modifies /etc/password?
Hi!I was just creating manually a new user in slack 12.2.
I created a profile on /etc/passwd, putting an x on the password space. when I tried to used the passwd command to encode my new password on /etc/shadow, nothing is written on shadow; instead the encoded string appears on /etc/password. Could someone explain me why?Thanks |
Since you didn't use adduser or useradd to create an account that has the password shadow suite installed, you need to run pwconv to change the encoded password in /etc/passwd to /etc/shadow.
http://linux.die.net/man/8/pwconv http://tldp.org/HOWTO/Shadow-Passwor...O-7.html#ss7.1 |
All times are GMT -5. The time now is 09:21 PM. |