summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
AgeCommit message (Collapse)Author
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
2000-08-01integrate password quality checking, disallow all digit passwords motivatedNiels Provos
by Solar Designer. External password checking program can be spawned now, number of password trials configurable. work by me and Bob Beck.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-05-19Make usage() work as expected. deraadt@ okEric Jackson
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-28no kpasswddTheo de Raadt
2000-03-10Various cleanups and standardization.Aaron Campbell
2000-02-25TKT_ROOT has changed from a string to a function in newer KerberosIVHans Insulander
versions. (Ok deraadt@)
1999-08-16inculde com_err.hArtur Grabowski
1999-08-16inculude ctype.h for islower()Artur Grabowski
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-05-23getopt(3) returns -1, not EOFAaron Campbell
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-07-13excessive paranoiaTheo de Raadt
1998-07-12fix printing glitchTheo de Raadt
1998-07-05newsalt uses 24-bit count, and not 32-bitNiels Provos
1998-07-04enable variable number of rounds for extended crypt, this is the cryptNiels Provos
variant used by BSDI, reminded of this fact by Solar Designer.
1998-03-09drop root-privilegies when changing kerberos password.Artur Grabowski
This allows non-root to change kerberos passwords.
1998-03-09Fix YP/localhost code which Art broke very badlyTheo de Raadt
1998-02-25nicer copyright.Artur Grabowski