pam_unix2 cannot get options

Bernard Fay bernard.fay at gmail.com
Tue May 27 18:08:19 UTC 2008


Hi,

I usually never have to fool in PAM as the default config files are ok.
This time I have a little problem that need to be diagnose.

I have systems running SuSE SLES 9.  In the logs I have the following
message:

pam_unix2: cannot get options

How can I find which options pam_unix2 is missing?

Being a stranger to PAM, can you tell me what are good tools to diagnose
problems with PAM, if any?

/etc/security/pam_unix2.conf looks like this:
auth:
account:
password:    md5
session:    none

/etc/pam.d/su looks like this:
#%PAM-1.0
auth     sufficient     pam_rootok.so
auth     required       pam_unix2.so    nullok #set_secrpc
account  required       pam_unix2.so
password required       pam_pwcheck.so  nullok
password required       pam_unix2.so    nullok use_first_pass use_authtok
#session required    pam_homecheck.so
session  required       pam_unix2.so    debug # none or trace


TIA,

-- 
Bernard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20080527/4602984b/attachment.htm>


More information about the Pam-list mailing list