Skip to main content
Topic: PAM (Read 2153 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: PAM

Reply #15

No but authentication doesn't only depend on the presence of a UID

I get the error attempting su from another user

Possibly a problem with /etc/shadow? Permissions on that file should be 600 root:root if I recall correctly.  Also how did you create the user? If you edited /etc/passwd directly instead of using useradd, for example, that database probably wouldn't have been updated.

You also mentioned getting syntax errors with visudo... you didn't happen to write the file anyway despite the errors? The whole point of visudo is to catch basic syntax errors so you don't bork your system. (Not accusing you of anything I just want to emphasize that you should take note when visudo complains)