Friday, May 21, 2010

Mandriva nis client desktop login problem (solved)

Hello,
When trying to login into user nis desktop  account I  get-> "Login failed"
Solution:
Changed the /etc/pam.d/system-auth ->

#%PAM-1.0

auth        required      pam_env.so
#auth        sufficient    pam_tcb.so shadow nullok prefix=$2a$ count=8
auth        sufficient    pam_unix.so try_first_pass likeauth nullok
auth        required      pam_deny.so

#account     sufficient    pam_tcb.so shadow
account     sufficient    pam_unix.so
account     required      pam_deny.so

password    required      pam_cracklib.so try_first_pass retry=3 minlen=4  dcredit=0  ucredit=0
#password    sufficient    pam_tcb.so use_authtok shadow write_to=shadow nullok prefix=$2a$ count=8
password    sufficient    pam_unix.so try_first_pass use_authtok nullok md5 shadow
password    required      pam_deny.so

session     optional      pam_keyinit.so revoke
session     required      pam_limits.so
session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
#session     required      pam_tcb.so
session     required      pam_unix.so
#

No comments:

Post a Comment