summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
AgeCommit message (Collapse)Author
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).
2001-06-26KerberosVHans Insulander
2001-06-26Support for changing kerberos 5 passwords.Hans Insulander
2001-06-26Adapt for our useHans Insulander
2001-06-26Import password changing program from heimdal-0.3fHans Insulander
2001-06-23ok, tmac is now fixedTheo de Raadt
2001-06-23join .%A entries; most by bk@rt.fmTheo de Raadt
2001-06-18o move passwd.conf variables into login.confTodd C. Miller
o no longer install passwd.conf (but it is used if it exists and the needed info is not in login.conf) o added passwordtime and minpasswordlen login.conf variables
2001-05-25Comment out krb5 stuff, until someone has had a chance to make krb5 supportHans Insulander
work.
2001-01-29$OpenBSD$Niklas Hallqvist
2001-01-10handle malloc() failuresTheo de Raadt
2000-12-12Minor interface changes to allow code reuse in login_chpass(8) andTodd C. Miller
login_lchpass(8)
2000-11-26Update for pw_mkdb(3) interface change. All but vipw and userdel canTodd C. Miller
specify a username (and thus avoid rebuilding the while database).
2000-11-24Include err.h and util.hTodd C. Miller
2000-11-24Include strings.h for strlen() prototypeTodd C. Miller
Include errno.h, not sys/errno.h since this is userland
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron 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-10-17- Add a DIAGNOSTICS section explaining "the passwd file is busy".Aaron Campbell
- Some other cleanups.
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-08-01talk about password checkingNiels Provos