Help with nis password changes

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Thu Aug 30 15:45:23 EDT 2007


On Thu, 30 Aug 2007 14:33:09 -0400 (EDT)
Scott Ehrlich <scott-DPNOqEs/LNQ at public.gmane.org> wrote:

> I normally try not to ask questions until I have done as much research as=
=20
> possible, and again, this is the case...
>=20
> Just after I thought I had my RH5 samba/nis server working fine, I come=
=20
> across the inability to update nis passwords.
>=20
> >From the server as root:
>=20
> passwd guest1
> Changing password for user guest1.
> New UNIX password:
> Retype new UNIX password:
> NIS password could not be changed.
> passwd: all authentication tokens updated successfully
>=20
>=20
> For the heck of it:
>=20
> yppasswd guest1
> Changing NIS acount information for guest1 on server.
> Please enter root password:
> Changing NIS password for guest1 on server.
> Please enter new password:
> Please retype new password:
> Error while changing the NIS password.
> The NIS password has not been changed on the server.
>=20
> The server was rebooted, but that didn't help.
>=20
> What am I missing?

cd /var/yp
make

This will take care of it, but there is an easier way, use the
yppasswd(1) rather than passwd(1).=20



--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9





More information about the Discuss mailing list