cannot change NIS user password as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, 
am i newbie to NIS world but having a wierd problem.
Am having 8 machines in my network with NIS master and
rest are NIS clients all on RH 8.0. 
my /etc/pam.d/passwd looks like 

#%PAM-1.0
auth       required     /lib/security/pam_stack.so
service=system-auth
account    required     /lib/security/pam_stack.so
service=system-auth
password   required     /lib/security/pam_stack.so
service=system-auth

/etc/pam.d/system-auth is 
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time
authconfig is run.
auth        required      /lib/security/pam_env.so
auth        sufficient    /lib/security/pam_unix.so
likeauth nullok
auth        required      /lib/security/pam_deny.so

account     required      /lib/security/pam_unix.so

password    required     
/lib/security/pam_cracklib.so retry=3 type=
password    sufficient    /lib/security/pam_unix.so
nullok se_authtok 
md5 shadow nis
password    required      /lib/security/pam_deny.so
session     required      /lib/security/pam_limits.so
session     required      /lib/security/pam_unix.so

NIS server is having passwd and shadow files on
/etc/yp folder where root account is not there. have
made required changes in /etc/sysconfig/yppasswdd file
for the same. Authentication works fine on all the
cleints. if NIS user tries to change password it works
abs. fine, and the changes are reflected on all the
machines. 
but if i try to change user password as root either
from NIS cleint or NIS server i get an error 

# passwd sandeep
New password:
Retype new password:
RPC: Can't encode arguments
The password has not been changed on NISSERVER.
passwd: Failed preliminary check by password service

am using 
ypbind-1.11-2
ypserv-2.5-1
yp-tools-2.7-3

have googled out for this but didn't find any
satisfactory answer. 
plese help me slove this. 

thanks in advance 

sandeep



__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux