Re: Pam Errors
Simon Collyer wrote:
> Adam Aube wrote:
>> Ok. Run a command that triggers this error (like su) under strace:
>>
>> strace -o su-strace.log su
>>
>> Then post the contents of su-strace.log to the list.
> See attached.
I think I've found the culprit:
open("/etc/pam.d/su", O_RDONLY) = -1 ENOENT (No such file or
directory)
There is no /etc/pam.d/su file. Try reinstalling the login package.
Also, while it probably isn't the issue here, this line from your strace
seemed odd:
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a
directory)
It looks like it was trying to open /dev/null as a directory. I straced su
on my system and didn't get this. Perhaps someone more knowledgeable than I
can comment on this.
Adam
Reply to: