Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | 2018-04-26 | 1 | -10/+2 | |
| | | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | ||||
* | convert to use readpassphrase() instead of DEPRECATED/getpass() | 2016-09-03 | 1 | -2/+3 | |
| | | | | OK millert@ | ||||
* | remove unneeded casts | 2016-08-16 | 1 | -2/+2 | |
| | |||||
* | Add missing "tty" promise to the pledge(2) call | 2016-04-26 | 1 | -2/+2 | |
| | | | | | | | | | This is needed since getpass(3) calls readpassphrase(3) which in turn tries to open(2) a tty in O_RDWR mode Problem reported by Kevin Chadwick <m8il1ists ! gmail.com> Cluebat stick provided by deraadt@, OK millert@ | ||||
* | Call syslog() if login_* pledge fails; OK deraadt@ | 2015-11-19 | 1 | -3/+5 | |
| | |||||
* | use crypt_checkpass("password", NULL) to fake a login instead of bcrypt | 2015-10-22 | 1 | -3/+3 | |
| | |||||
* | pledge "stdio rpath" is good enough for these mainline BSD auth login | 2015-10-14 | 1 | -1/+4 | |
| | | | | | | programs. (I am very surprised pledge ended up working for programs like this) ok semarie millert | ||||
* | reduce dependency on passwd. just call bcrypt_newhash to do the dummy work. | 2014-11-03 | 2 | -12/+5 | |
| | |||||
* | Remove more Kerberos cruft. | 2014-04-23 | 1 | -4/+4 | |
| | | | | ok jca@ jmc@ | ||||
* | remove some unnecessary sys/param.h inclusions | 2012-12-04 | 1 | -2/+1 | |
| | |||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | fix some dodgy displays; | 2007-02-06 | 1 | -5/+4 | |
| | |||||
* | some extern and goo | 2006-04-02 | 1 | -2/+4 | |
| | |||||
* | Foil potential timing attacks by using the correct password hash | 2006-03-09 | 2 | -5/+12 | |
| | | | | | | instead of "xx". In practice this means bcrypt() will be used for non-existent users instead of DES crypt(). Adapted from a patch by Peter Philipp. OK deraadt@ | ||||
* | ansi; ok millert pvalchev | 2002-09-06 | 1 | -7/+3 | |
| | |||||
* | minor indent cleanup | 2002-06-28 | 1 | -3/+3 | |
| | |||||
* | minor KNF | 2002-06-02 | 1 | -3/+3 | |
| | |||||
* | login(8) -> login(1) | 2002-03-13 | 1 | -3/+3 | |
| | |||||
* | Do not set handler for SIGINT and SIGQUIT to SIG_IGN since it prevents | 2001-12-06 | 1 | -3/+1 | |
| | | | | | | | | | | | | getpass()/readpassphrase() from being able to restore the tty mode on keyboard interrupt. Along with the recent readpassphrase.c commit this means that if you ^C things that use login scripts (like su(1)) with a non-CBREAK shell your tty mode will be restored nicely. TODO: The various login scripts need to install handlers to avoid leaving turd files or otherwise ending in a bad state. It would also be nice to send BI_REJECT to the back channel. | ||||
* | o) fix bogus .Xr usage; | 2001-11-13 | 1 | -4/+5 | |
| | | | | | | | | o) start new sentence on a new line; o) don't use .Xr instead of .Pa tag; o) minimal -mdoc design fixes; millert@ ok; | ||||
* | getopt(3) returns -1 when out of args, not EOF. | 2001-10-24 | 1 | -2/+2 | |
| | | | | millert@ ok | ||||
* | Remove extraneous .Pp after .Sh | 2001-07-08 | 1 | -2/+1 | |
| | |||||
* | reject login script; rejects attempted authentication | 2000-12-12 | 3 | -0/+220 | |
will be used when BSD authentication is enabled |