summaryrefslogtreecommitdiff
path: root/usr.sbin/vipw
AgeCommit message (Collapse)Author
2015-10-16pledge "stdio rpath wpath cpath fattr proc exec"Theo de Raadt
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
2014-05-07Repair the termination condition of a write(2) loop.Ingo Schwarze
Since _PATH_MASTERPASSWD_LOCK is on a local file system in any sane setup and written to in blocking mode, i don't see how write(2) could return before having written everything, so this maybe wasn't an actual bug, but it should be repaired anyway, if only for clarity and extra safety. From Ben Cornett <ben at lantern dot is>; ok millert@.
2011-08-19Use futimens() instead of futimes() to avoid converting to/fromTodd C. Miller
struct timeval. OK guenther@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-11-19copy in FILES from pw_lock.3 to vipw.8: as nick points out, it should atJason McIntyre
least document /etc/ptmp; while i'm at it, might as well tidy it up and make it consistent across these pages;
2007-11-17Deal with timespec vs. timeval precision issues. Fixes a problemTodd C. Miller
where the "no changes" case was not properly detected due to timespec supporting nanosec resolution but timeval only supporting microsec resolution. OK deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2004-03-12fix SEE ALSO;Jason McIntyre
2003-06-14Cipher type is set in login.conf, not passwd.conf these days; Otto MoerbeekTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-01-24Instead of stashing the timestamp on the pw temp file before eachTodd C. Miller
edit, just stash it once in copyfile(). This fixes the check for whether or not changes have been made (based on the timestamp) for cases like when the _shadow group is missing but is fixed by the admin during the next edit.
2003-01-24ansiTheo de Raadt
2002-05-30minor KNFTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-08-19Better file change detection:Todd C. Miller
o when copying to temp file set utimes on temp file equal to original o use st_mtimespec instead of st_mtime for better granularity
2001-08-16extra arg to pw_mkdbTodd C. Miller
2000-11-26Update for pw_mkdb(3) interface change. All but vipw and userdel canTodd C. Miller
specify a username (and thus avoid rebuilding the while database).
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
1999-05-29Check size as well as mtime when deciding whether or not the fileTodd C. Miller
was changed during edit. Crontab patch from <andrew@untraceable.net>. It may be better to simply do a real compare inline.
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-04-02all .Nm macros should have an argument in SYNOPSIS; also misc cleanupAaron Campbell
1999-03-12cleanupAaron Campbell
1997-09-21$OpenBSD$Theo de Raadt
1997-02-25include link to passwd.confNiels Provos
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-09-01better error messageTheo de Raadt
1996-08-13gone long agoTheo de Raadt
1996-05-22libutilTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt