'su' problem

From: DvG <nezdali_at_bsd.ee>
Date: Tue, 22 Jul 2003 10:37:52 +0300
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
Received on Mon Jul 21 2003 - 22:33:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC