'passwd' does not enable password in /etc/passwd ':x:'

Tomasz Czapiewski xeros at irc.pl
Sat Apr 2 21:06:11 UTC 2011


I've encountered problem that BusyBox 1.18.4 'passwd' module does 
create/update passwords in /etc/shadow file but does not put 'x' in 
/etc/passwd after login name to be able to login using this password if 
there was no password before ('login::..').

'passwd' command on Debian or Ubuntu does handle it this way that does not 
update /etc/shadow but writes encrypted password into /etc/passwd in such 
case, althrough IMO it's not good either when the /etc/shadow file exists.

Regards,
Tomasz Czapiewski


More information about the busybox mailing list