Re: pam and yppasswd on Red Hat LINUX 6.1

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

 



I must not be doing this quite right.  I placed a line in the passwd 
file in /etc/pam.d  so that it now looks like this:

more /etc/pam.d/passwd

#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so shadow nullok
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_unix.so nis
password   required     /lib/security/pam_cracklib.so retry=3 
minlen=11 dcredit=2 difok=3
password   required     /lib/security/pam_pwdb.so use_authtok nullok md5 shadow

Now when I use passwd instead of yppasswd it asks me everything 
twice, and I get an error at the end, although it does seem to be 
talking to the NIS server.

[beth@copperhead beth]$ passwd
Changing password for beth
(current) UNIX password:
Changing password for beth
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:

The password has been changed on gandalf.pns.anl.gov.
New UNIX password:
Retype new UNIX password:
passwd: Permission denied

any advice?

>On Wed, 07 Feb 2001, Rick Goyette wrote:
>
>>  I have noticed that pam seems to treat yppasswd (on an NIS client)
>>  differently than passwd ( on the NIS server).  How do I make sure
>>  that pam does the same level of checking when a user changes his
>>  password using yppasswd as it does if he used passwd?
>
>Give "nis" option to pam_unix and you can use normal passwd on client.
>
>Jan
>--
>Jan Reœkorajski            |  ALL SUSPECTS ARE GUILTY. PERIOD!
>baggins<at>mimuw.edu.pl   |  OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
>BOFH, MANIAC              |                   -- TROOPS by Kevin Rubio
>
>
>
>_______________________________________________
>
>Pam-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/pam-list

-- 
R. J. Goyette
Argonne National Laboratory
rjgoyette@anl.gov
(630) 252-4328

http://www.pns.anl.gov





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

  Powered by Linux