summaryrefslogtreecommitdiff
path: root/usr.bin/skeyaudit
AgeCommit message (Collapse)Author
2007-05-31convert to new .Dd format;Jason McIntyre
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from ↵Theo de Raadt
Tamas TEVESZ; ok millert
2005-10-263rd arg to F_GETFL fcntl doesn't need to be a pointer, 0 is fine.Todd C. Miller
2005-07-06- simplify SYNOPSISJason McIntyre
- sync usage()
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-05-06Don't call setusercontext() to change uid unless uid == 0; found by mpech@Todd C. Miller
2003-05-06While I'm here sync usage() w/ manual.Mike Pechkin
2003-05-02o Don't close stdout in interactive mode; mpech@Todd C. Miller
Extra paranoia: o Close keyfile by hand each time in -a mode so we don't leak an fd to sendmail o If any of std{out,in,err} are not open, open /dev/null in their stead. o If stdout is not open and -i was specified, just exit since there is nowhere to print the info. Thanks for mpech@ for his testing and bug finding ;-)
2003-04-30Add missing period.Todd C. Miller
2003-04-28Don't try to close key.keyfile in -a mode, skeygetnext() will haveTodd C. Miller
already done it and we are headed for exit anyway.
2003-03-14Replace strcpy() of a constant w/ strlcpy() for easy grepping;Todd C. Miller
from Raymond M Schneider
2003-03-06date should be written formally: .Dd Month day, yearDavid Krause
ok henning@ jmc@
2002-05-29Don't call fclose() on a NULL file handle; from markus@Todd C. Miller
Also: Use ANSI function headers Use pid_t for pids Never do exit(-1)
2002-05-16Change S/Key stuff from using a flat file (/etc/skeykeys) to a directoryTodd C. Miller
where each user gets their own file, which is owned by that user. An old S/Key database may be converted by running "skeyinit -C" as root. Programs that need to access the S/Key database no longer need to be setuid root. They must now be setgid auth instead.
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-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-09-20Change the message if the S/Key sequence has expired. millert@ okPaul Janzen
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-03-11Various cleanups and standardizations.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1997-09-21$OpenBSD$Theo de Raadt
1997-09-09use setlogin(2).Todd C. Miller
1997-07-24Add -a (audit all users) flag and do our pipes.Todd C. Miller
1997-07-23Use _PATH_SKEYKEYS and fix a typo.Todd C. Miller
1997-07-23close keyfile nicely.Todd C. Miller
1997-07-23Add a seteuid() just in case someone decides to make this setuidTodd C. Miller
by some uid other than 0.
1997-07-23copyrightTodd C. Miller
1997-07-23Replace skeyaudit.sh with a setuid binary (necessary for mode 0600 skeykeys)Todd C. Miller