summaryrefslogtreecommitdiff
path: root/lib/libutil/pw_util.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Since vfork() was changed to fork(), we have to pass errno back from theDag-Erling Smørgrav1998-10-201-3/+6
| | | | | | | | | | child to the parent somehow. PR: 8353 Submitted by: Andrew J. Korty <ajk@purdue.edu> Notes: svn path=/head/; revision=40538
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() orDag-Erling Smørgrav1998-10-131-3/+3
| | | | | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde Notes: svn path=/head/; revision=40301
* Statisize usage().Philippe Charnier1997-10-271-1/+4
| | | | Notes: svn path=/head/; revision=30765
* Changes to support full make parallelism (-j<n>) in the worldJordan K. Hubbard1997-10-051-3/+3
| | | | | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su> Notes: svn path=/head/; revision=30113
* Endless loop.Wolfram Schneider1997-09-291-5/+5
| | | | | | | | | | | | | | $ vipw [corrupt a line in editor, exit editor] pwd_mkdb: corrupted entry pwd_mkdb: at line #2 pwd_mkdb: /etc/pw.012585: Inappropriate file type or format re-edit the password file? [y]: n^D^D [hang] Notes: svn path=/head/; revision=29980
* Cosmetic: distinguish in diag message between rebuilding and updatingJoerg Wunsch1997-08-241-1/+2
| | | | | | | | | | the database. PR: 3397 Submitted by: taob@risc.org (Brian Tao) Notes: svn path=/head/; revision=28662
* Implement incremental passwd database updates. This is done by ading a '-u'Guido van Rooij1996-07-011-2/+8
| | | | | | | | | | | | | | | | | option to pwd_mkdb and adding this option to utilities invoking it. Further, the filling of both the secure and insecure databases has been merged into one loop giving also a performance improvemnet. Note that I did *not* change the adduser command. I don't read perl (it is a write only language anyway). The change will drastically improve performance for passwd and friends with large passwd files. Vipw's performance won't change. In order to do that some kind of diff should be made between the old and new master.passwd and depending the amount of changes, an incremental or complete update of the databases should be agreed upon. Notes: svn path=/head/; revision=16876
* Small NIS tweak: frob pw_error() a little so that it can say eitherBill Paul1995-08-131-1/+8
| | | | | | | | | | | | 'NIS information unchanged' or '/etc/master.passwd unchanged' depending on which was is being modified (conditional on -DYP). This is to save me the trouble of writing a whole other error routine (nis_error()?) for the upcoming changes to passwd and chpass. Notes: svn path=/head/; revision=10048
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8857
* Fix suspended vipw hangsAndrey A. Chernov1995-03-091-9/+25
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=6972
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-261-0/+204
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553