hello!
here's my original question:
----------------------
i'm running soms sparc stations and ultras (all solaris 2.5.1) and nis/yp
naming service.
solaris comes with a passwd command that allows to change nis/yp
passwords but beside that it also allows every user to change his login
shell and his gecos field.
my problem is that i do want users only to change their passwords not
anything else. i couldn't find out how to restrict the passwd command.
has anybody got an idea?
-----------------------
the answer was very simple i just had to change the options for
rpc.yppasswdd
* kill yppasswdd
* then something like this
rpc.yppasswdd -D /var/yp/src -nogecos -noshell -m && echo '
rpc.yppasswdd\c'
* remember to edit the startup skripts too
Try: man rpc.yppasswdd to get more informations
thanks to
Torsten Metzner <tom@plato.uni-paderborn.de>
clemens
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clemens schmuck
university of salzburg
hellbrunnerstr. 34 clemens@wst.edvz.sbg.ac.at
5020 salzburg, austria http://www.edvz.sbg.ac.at/~clemens
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:49 CDT