Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 1995 17:57:41 +0000 ()
From:      Sergio Lenzi <lenzi@cwbtwo.bsi.com.br>
To:        Robert Shady <rls@kilroy.id.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Prob's w/YP Stuff
Message-ID:  <Pine.BSF.3.91.951205174245.18813B-100000@cwbtwo>
In-Reply-To: <199512041900.OAA19588@server.id.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Ref: change yp password for users, asks for the old passwd...


Roberts is right.

I had kind of the same problem here at bsi.
And another problem that you will face too ->passwords generated by
the yppasswd contains invalid characters (control) and when yppasswdd
tries to update the password it invalidates the password.

Solution:
1) Modify the program yp_passwd.c at /usr/src/usr.bin/passwd
	to generate crypt the same way as local_passwd.c
2) Modify update.c in the /usr/src/gnu/usr.sbin/yppasswdd
	to not check the old password if it came from uid=0.

compile those programs * install.


Sergio de Almeida Lenzi.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951205174245.18813B-100000>