summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove multiply defined Id string. Hide sccsid string.charnier1997-10-131-10/+10
|
* Modify rpc.yppasswdd to use the new AF_LOCAL transport in the RPC librarywpaul1997-07-291-54/+22
| | | | | instead of its own kludged up version. This makes the special 'superuser-only' update procedure work just like a real RPC service.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-3/+3
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix harmless bugs found while hunting for chpass nis failurepeter1996-11-151-3/+3
|
* Make error messages more informative.wpaul1996-10-231-4/+9
|
* Two small changes that were in my development sources at homewpaul1996-10-221-25/+7
| | | | | | | but never made it here for some reason: - 'u' option was missing from getopt string - Use daemon() to become daemonic.
* Whoops: had a couple of hardcoded instances of '/var/yp/' that shouldn'twpaul1996-06-231-4/+4
| | | | have been there. Fixed to use yp_dir, which can be set on the command line.
* Added support for in-place updates:wpaul1996-06-051-4/+8
| | | | | | | | | | | | | | | | | If rpc.yppasswdd is invoked with the -i flag, password changes will be made to the master.passwd template file and the hash map files in-place, which means it won't have to run a complete map update. Instead, it calls /var/yp/Makefile with the 'pushpw' target, which just pushes the maps to the slaves and runs yp_mkdb -c to tell the local ypserv to flush its database cache. The server will check the passwd.byname and passwd.byuid maps to see if they were built in 'insecure' or 'secure' mode (i.e. with real encrypted passwords in them or without) and update them accordingly. This combined with rpc.ypxfrd greatly reduces the amount of time it takes to complete an NIS password change, especially with very large passwd databases.
* Add securenets support (uses same access control mechanism as ypserv,wpaul1996-02-241-5/+21
| | | | | | | | | | | | | | | also controlled by /var/yp/securenets). Add -u flag to turn off the privileged port check done by yp_access(); some commercial systems (IRIX, Solaris 2.x, HP-UX, and probably others) don't use a reserved port for submitting yppasswd updates. If we always enforce the check, these client systems will be unable to submit updates to us. Document securenets support and -u flag in man page. Like ypserv, you can compile rpc.yppasswdd to use the tcpwrapper package instead of securenets if you want to.
* This commit was generated by cvs2svn to compensate for changes in r14062,wpaul1996-02-121-0/+362
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud