]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The rpc.yppasswdd has an option to not allow shell changes (-s), but is
authoraraujo <araujo@FreeBSD.org>
Fri, 2 Oct 2015 08:58:50 +0000 (08:58 +0000)
committeraraujo <araujo@FreeBSD.org>
Fri, 2 Oct 2015 08:58:50 +0000 (08:58 +0000)
commit26866ae661d7d6070d3a4ea5395576a2be3d17b2
treeac78b9d3a94b49de363f2664e36ba3951c85622e
parent2a5d62de17a548f167b4c0ba7ec082eed347b693
The rpc.yppasswdd has an option to not allow shell changes (-s), but is
always passed a shell by the remote yppasswd. If an NIS client overrides the
shell provided by the ypserv, then yppasswd (pam_unix, actually, afaict)
will pass this new shell to the yppasswdd. If this shell has been set on the
client to a shell which is invalid on the server, a user will never be able
to change their password on the client.

PR: 67142
Submitted by: russell@rucus.ru.ac.za
Approved by: bapt (mentor)
Sponsored by: EuroBSDCon Sweden.
usr.sbin/rpc.yppasswdd/yppasswdd_server.c