'su' problem
DvG
nezdali at bsd.ee
Tue Jul 22 00:33:12 PDT 2003
Hi,
Im having problem using su: pam_unix: pam_sm_authenticate: UNIX authentication refused
in any other account except root. Where could be the problem ?
Thank you in advance .
Here is what i use in pam
/etc/pam.d>$cat su
#
# $FreeBSD: src/etc/pam.d/su,v 1.15 2003/06/14 12:35:05 des Exp $
#
# PAM configuration for the "su" service
#
# auth
#auth sufficient pam_rootok.so no_warn
#auth sufficient pam_self.so no_warn
#auth requisite pam_group.so no_warn group=wheel root_only fail_safe
auth required pam_unix.so try_first_pass
auth include system
# account
account include system
# session
session include system
---------------------------------------------------------------------------------------------------
/etc/pam.d>$cat login
#
# $FreeBSD: src/etc/pam.d/login,v 1.16 2003/06/14 12:35:05 des Exp $
#
# PAM configuration for the "login" service
#
# auth
#auth sufficient pam_skey.so
auth requisite pam_cleartext_pass_ok.so
#auth sufficient pam_kerberosIV.so try_first_pass
auth required pam_unix.so try_first_pass
# account
account required pam_unix.so
# session
session required pam_permit.so
# password
password required pam_permit.so
More information about the freebsd-current
mailing list