Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-24 | Make sure that -n overrides -t even when -n precedes -t, like it | Ingo Schwarze | |
does in FreeBSD and in NetBSD, and fully document that behaviour. Input, feedback, and OK jca@. | |||
2019-07-21 | While -n is now the default, it's been useful since 1996. Keep it for compat. | Jeremie Courreges-Anglas | |
Agreement from schwarze@ (who proposed a thorough but longer diff) and millert@ ok tb@ kn@ cheloha@ | |||
2019-07-21 | Amend comment: entering the root password won't unlock the terminal | Jeremie Courreges-Anglas | |
Mention -p (user password) while here. | |||
2019-07-19 | lock(1): remove default timeout | cheloha | |
It makes little sense from a security standpoint to unlock the terminal and expose the user's session after fifteen minutes by default. Default behavior is now to reserve the terminal forever. Add instructions to the manpage to help the user employ the -t timeout option more safely. Manpage greatly improved by jmc@; bug(s) caught by millert@; with input from claudio@. ok millert@ | |||
2019-07-05 | lock(1): make "-n" and "-t timeout" mutually exclusive. | cheloha | |
It doesn't make sense to simultaneously say "never time out" and "release this terminal in a few minutes". Input from kn@. "just go for it" deraadt@ | |||
2017-09-06 | After recent changes, we need to clear hash, not s1. | Theo Buehler | |
From Scott Cheloha ok deraadt | |||
2017-07-08 | this program was infected with lint era casts. i think we're past that now. | Ted Unangst | |
2017-07-08 | remove ARGSUSED, from Scott Cheloha. | Ted Unangst | |
and while we're cleaning, switch __progname to getprogname. | |||
2017-07-08 | use crypt_newhash to protect the password. from Scott Cheloha | Ted Unangst | |
2017-07-08 | clean up some unused variables. also, making a variable global isn't the | Ted Unangst | |
best way to zero initialize it if that's all you need. | |||
2017-07-08 | instead of using time(), refer to getitimer to find out how long the | Ted Unangst | |
timeout is. from Scott Cheloha | |||
2017-07-08 | can just continue after readpassphrase returns null, the sighandler will | Ted Unangst | |
have already printed a message. from Scott Cheloha | |||
2017-05-03 | Use the safe idiom of cleaning sensitive data from memory with explicit_bzero, | Ricardo Mestre | |
instead of relying on other methods, after readpassphrase. Some programs on this diff won't benefit that much since it happens near the terminal path, but someone might copy the unsafe idiom to another program and place it where it may leak sensitive data. Discussed aeons ago with tb@, OK deraadt@ and beck@ | |||
2016-05-28 | repair braces. from ilya.kaliman/gsoares/natano | Ted Unangst | |
2015-10-15 | lock needs pledge(proc exec) to use bsd auth system. from trondd | Ted Unangst | |
2015-10-10 | normalize a few more tame request orderings, to help review | Theo de Raadt | |
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-07 | tame "stdio getpw rpath wpath tty". "tty" allows this to use | Theo de Raadt | |
readpassphrase(). | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2012-01-15 | Document what remains of the 2BSD heritage. | Ingo Schwarze | |
All facts found on the CSRG CD 1 in the 2bsd directory. Feedback and ok jmc@, ok sobrado@. Note the large number of 3BSD -> 2BSD changes. Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and added lots of historical information around that time) what happened in this respect, and she answered that she often wrote "appeared in 3BSD" when she was unsure of when a utility was added. Thanks to Kirk and Cynthia for that clarification. | |||
2010-06-13 | Prevent a segmentation fault. It could occur when login_getclass fails and | Tobias Stoeckmann | |
the key "s/key" is entered with supplied -a or -p option. ok millert (with better error message) | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo 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 | |||
2009-09-18 | like login(1), back off password guesses after login-backoff; and | Martynas Venckus | |
reset cnt after login-tries. tweak & ok millert@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2006-04-26 | pleasing lint, without displeasing future developers | Theo de Raadt | |
2006-04-26 | merge parts of strtonum() cleanup from tan.dang@gmail.com | Theo de Raadt | |
2005-07-14 | - better synopsis | Jason McIntyre | |
- sort options - sync usage() | |||
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-08-15 | knf | Theo de Raadt | |
2002-08-04 | ansi | Theo de Raadt | |
2002-06-23 | uid_t and gid_t are unsigned | Theo de Raadt | |
2002-05-08 | _exit() not exit() in signal handler. | Todd C. Miller | |
2002-02-16 | Part 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-11-02 | avoid stdio in signal handler | Theo de Raadt | |
2001-05-29 | adapt to BSD authentication and clean things up a bit while I am at it | Todd C. Miller | |
2000-11-09 | Change all option list specifications to ".Bl -tag -width Ds". Most man | Aaron 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-03 | Boring... Add :L modifier to all tweakable variables tests. | Marc Espie | |
Closes PR 1246 | |||
2000-03-08 | Various cleanups and improvements. | Aaron Campbell | |
1999-10-17 | More consistent introduction to options. | Aaron Campbell | |
1999-09-23 | Typo fixes. | Alex Feldman | |
1999-06-05 | - remove trailing white space | Aaron 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... :/ | |||
1999-03-06 | back out changes that should not have escaped my local tree | Todd C. Miller | |
1999-03-06 | add missing reference to infocmp | Todd C. Miller | |
1998-11-11 | remove redundant .Pp macros | Aaron Campbell | |
1998-09-26 | usr.bin/ man page fixes, f-m. | Aaron Campbell | |
1997-07-27 | A bit of KNF | Todd C. Miller | |
1997-07-27 | -Wall | Todd C. Miller | |