Click to See Complete Forum and Search --> : Allowing Password-less Users


Sepero
04-25-2004, 10:06 PM
OMG! It took me about 10 hours of reading/learning about PAM to figure this out.

In my /etc/pam.d/passwd file, there is one(uncommented) line. I changed the line from this:
password required pam_unix.so nullok obscure min=4 max=8 md5

to this:
password required pam_unix.so nullok md5



It's good to have one password-less(guest) account for friends that want to come play on your box. I don't start a GUI by default, so I believe this is the correct way to allow this.

Sepero
04-25-2004, 10:20 PM
Oh, I almost forgot.
You have to create the account(guest) With a password. After you create the account, edit the file /etc/shadow with a text editor. Delete the users encrypted password.

Example:
guest:$1$g/XunCnM$HS4LdYfHQLKNB1qn3JyTj0:12405:0:99999:7:::

Changed to:
guest::12405:0:99999:7:::