summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
AgeCommit message (Collapse)Author
2004-07-24Print a newline before the message in kbintr. Otherwise the messageTodd C. Miller
ends up on the same line as the prompt.
2004-07-15Minor simplification. Pass values in to login_getcapstr for "default" andTodd C. Miller
"error". No longer need check for NULL and set a default value manually.
2004-07-13Simplify some things now that we only have login.conf to worry aboutTodd C. Miller
and fix two bugs introduced in the last commit (a duplicate free and reversed logic for the default cipher types).
2004-07-13passwd.conf has been deprecated since login.conf was imported.Todd C. Miller
Today it finally dies. Based on a diff from Gabriel Kihlman.
2004-04-20Adapt to new pw_copy() API, closes PR 3698.Todd C. Miller
2004-03-14use pid_t for fork return. started by Joris VinkTed Unangst
2004-03-12Remove pw_abort() added in last commit and use the local verson ofTodd C. Miller
pw_error() instead. OK deraadt@ otto@
2004-03-10Check getpass() return value for NULL. Closes Pr 3706.Todd C. Miller
With help and OK from otto@.
2004-02-20Make passwd understand master.passwd.byname so it can work in a secureMats O Jansson
environment. Patch from llx at hitech dot ch, modified by me. -moj ok henning@
2003-08-04No longer needed. bye bye.Hans Insulander
ok deraadt@ millert@ henning@
2003-08-04Remove Kerberos 4 stuff.Hans Insulander
ok deraadt@ millert@ henning@
2003-07-25remove some obsolete kerberosIV references;Jason McIntyre
ok hin@
2003-07-15stop using libcom_err, it is built into krb5Theo de Raadt
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-07-02protosTheo de Raadt
2003-06-20a cleaning recommended by lintTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14Remove krb4 support.Magnus Holmberg
2003-04-28stdlib.hTheo de Raadt
2003-04-05strlcpy; ok matthieu henning miodTheo de Raadt
2003-03-30Simpler and consistent error messages when the user enters an emptyTodd C. Miller
password or hits ^C. OK deraadt@ and mpech@
2003-01-06typo; jmc@prioris.mini.pw.edu.plTheo de Raadt
2002-11-21typo in error message; Tor HoughtonHenning Brauer
2002-06-28various cleanups; ok millertTheo de Raadt
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-27support ":" prefix as group name, as username can contain ".".Jun-ichiro itojun Hagino
(still support "." as welll). passwd.conf support will go away in a couple of months anyways... ok by millert
2002-05-16- mimic pw_error() behavior from libutil when name is NULL.Federico G. Schwindt
- while i'm here some style, as well as spaces/tabs removal. deraadt@ ok
2002-05-10Fixups for -Wall from panda@omatis.com in system/2634.Hugh Graham
Checked by deraadt.
2002-05-08correct linkageTheo de Raadt
2002-05-06rlogin: Lived with JoyTheo de Raadt
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-02-13When you give command examples and etc., in a manual page prefix them with:Mike Pechkin
$ command or # command deraadt@ ok
2002-01-24fix the history refsMichael Shalayeff
2001-12-07Catch SIGINT and SIGQUIT via the kbintr() signal handler in ypgetnewpasswd()Todd C. Miller
too. Restore old signal handler at the end of ypgetnewpasswd() and getnewpasswd().
2001-12-07Catch SIGINT and SIGQUIT via the kbintr() signal handler.Todd C. Miller
Now that getpass() is interuptible we need to catch these so that the "Password unchanged." message is printed.
2001-11-22Bad .IMPSRC.Marc Espie
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-08-27Instead of prompting the user whether or not they wish to continue toTodd C. Miller
wait for the lock on password file just tell the user to interrupt with ^C. This simplifies the locking loop a bit. Update man page to this effect.
2001-08-26Change the second arg to pw_mkdb() from a boolean flag to a set ofTodd C. Miller
bit flags ORed together. Currently the only flags defined are _PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to cause pw_mkdb() to run pwd_mkdb with the options we want. With this change we no longer generate the old V7 passwd file when only the extra fields in master.passwd (or the encrypted password) have changed. There are other programs that could probably use the _PASSWORD_OMITV7 flag; they will be converted at a future date.
2001-08-19add missing #include <err.h> in non-KRB5 caseTodd C. Miller
2001-08-18If we modify pw_change we cannot pass pw_mkdb() the secureonly flag.Todd C. Miller
We don't need to rebuild the v7 version of the file in this case but we have no way to communicate that to pw_mkdb since we pass in a boolean instead of a set of bit flags.
2001-08-16extra arg to pw_mkdbTodd C. Miller
2001-08-16At Theo's request only print 'Please wait' if don't get the lockTodd C. Miller
on the first try.
2001-08-03o) We always closes .Bl and .Bd tags;Mike Pechkin
millert@ ok
2001-07-19more places that need -lkafsTheo de Raadt
2001-07-07quiet some -Wall warnings for login_{l,}chpassTodd C. Miller
2001-07-06o We use login.conf for passwd(1) variables now, not passwd.confTodd C. Miller
o Give detailed instructions on how to find a process holding the ptmp lock
2001-07-04Move locking of the passwd file *after* we have gotten a new passwordTodd C. Miller
from the user. Set real/effective/saved uids to 0 and block all signals so the lock cannot be kept longer than necessary. If we cannot lock, try again every 1/4 second for 2 seconds and then ask the user what they wish to do (keep trying, quit).