summaryrefslogtreecommitdiff
path: root/libexec/login_lchpass
AgeCommit message (Collapse)Author
2004-03-10More checking for a NULL return value from getpass(). otto@ OKTodd C. Miller
2002-10-15localhost variable is not needed; Peter WernerTodd C. Miller
2002-09-06ansi; ok millert pvalchevTheo de Raadt
2002-06-28minor indent cleanupTheo de Raadt
2002-06-02minor KNFTheo de Raadt
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-07Use writev() to send status on the backchannel instead of fdopen()ingTodd C. Miller
fd 3 and using stdio.
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
2001-06-25Remove instance stuff now that su uses an explicit option to specifyTodd C. Miller
the invoking user.
2001-06-19Make gcc shut up about unused rcsids.Todd C. Miller
2001-01-28$OpenBSD$Niklas Hallqvist
2000-12-12lchpass login script; changes local passwordTodd C. Miller
will be used when BSD authentication is enabled