[plug] No passwd for user
I am the LinuxAlien
linuxalien at optusnet.com.au
Sun Aug 4 10:43:50 WST 2002
I used the passwd -d username command like someone said and it does fine,
enter the usernaem and it doesn't ask for a password. Thats just what i needed.
Tim
At 02:01 AM 04/08/2002 +0800, you wrote:
>>That doesn't work does it? /etc/shadow stores te crypt (or MD5) version
>>of the password. And a blank entry wont be the crypt version of ''.
>
>My bad. You need to leave the password entry in /etc/passwd blank even if
>you're using shadow passwords, and PAM handles that as a special case as
>far as I can tell - somewhat like "x" for "is in /etc/shadow". Maybe you
>have to blank the /etc/shadow entry too - anyway I delete both for the
>sake of neatness and it works perfectly on all my systems.
LinuxAlien
Riverton, Perth, WA
Australian Linux Technical Conference, Perth 2003 http://linux.conf.au
More information about the plug
mailing list