summaryrefslogtreecommitdiff
path: root/libexec/login_chpass
AgeCommit message (Collapse)Author
2008-01-02Update commented out kerberos bits in case someone wants to add missingTodd C. Miller
kerb5 support to login_chpass.
2007-05-31convert to new .Dd format;Jason McIntyre
2006-03-09Foil potential timing attacks by using the correct password hashTodd C. Miller
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@
2005-04-14drop some krb4 stuffBjorn Sandell
ok beck@
2004-09-28pass lintTheo de Raadt
2004-03-10More checking for a NULL return value from getpass(). otto@ OKTodd C. Miller
2003-08-12Cleanup obsolete kerberos 4 stuff.Hans Insulander
ok millert@
2003-07-15stop using libcom_err, it is built into krb5Theo de Raadt
2003-05-14Remove krb4 support.Magnus Holmberg
2003-02-03typos;Jason McIntyre
ipsecadm(8): examples ho@ help and ok markus@
2002-09-06ansi; ok millert pvalchevTheo de Raadt
2002-06-28minor indent cleanupTheo de Raadt
2002-06-02minor KNFTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-05-11Add missing libraries to bsd.prog.mk (mostly kerberosV)Marc Espie
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@
2002-03-13login(8) -> login(1)Marco S Hyman
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.
2002-01-06Don't let root change it's password via login_l?chpass(8).Todd C. Miller
At some point in the future, passwd(1) may call these auth methods at which time we will need a flag to allow root to do a password change and also to allow account w/o a password to be given one.
2001-12-07o Use writev() to send status on the backchannel instead of fdopen()ingTodd C. Miller
fd 3 and using stdio. o Add SIGINT/SIGQUIT signal handler for yp_chpass() now that getpass() is interuptible. o Block SIGINT/SIGQUIT in krb_chpass() until it is made to clean up after itself properly.
2001-12-06Do not set handler for SIGINT and SIGQUIT to SIG_IGN since it preventsTodd C. Miller
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.
2001-10-24getopt(3) returns -1 when out of args, not EOF.Mike Pechkin
millert@ ok
2001-07-08Remove extraneous .Pp after .ShTodd C. Miller
2000-12-12chpass login script; changes local, yp, or kerberos passwordTodd C. Miller
will be used when BSD authentication is enabled