Ok, now I can change passwords from another machine. This should work for me, thanks a lot! If anyone figures out why root cannot change passwords local on the nis-master, please let me know!
Again, Thanks a lot! Robert On Wed, 19 Mar 2003 11:36:56 -0600 Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (Mar 19), Robert Kellner said: > > I am not using /etc/master.passwd as NIS passwd, I have a sepearte > > master.passwd in /var/yp I commented out the daemon(0,0) call and I > > got the following (as root): > > > > from yppasswd:bash-2.05b# yppasswd testuser > > Changing NIS password for testuser > > Old Password: > > New Password: > > Retype New Password: > > yppasswd: pam_chauthtok(): error in service module > > > > /var/log/messages:Mar 19 16:58:03 btcips73x1 yppasswd: in pam_sm_chauthtok(): > > yppasswd_local(): failed to connect to rpc.yppasswdd: > > btcips73x1.cip.uni-bayreuth.de: RPC: Program not registered > > My patch doesn't address your first problem (the failure to change > passwords on the local machine), only the second (pwd_mkdb() failing > because it shouldn't even be run). Try it from another machine and see > what happens. > > -- > Dan Nelson > [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
