summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
AgeCommit message (Collapse)Author
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-20Powered by @mantoya.Mike Pechkin
o) fix bogus .Xr usage; millert@ ok.
2001-08-16Fix a typo and document login class field correctly.Todd C. Miller
Based on a patch from andrew.hoerter@NeuStar.com
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-15Move 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). Same as in local_passwd.c but here we need to remove a temp file in the SIGINT handler because _exit() doesn't call atexit() routines.
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-06-23ok, tmac is now fixedTheo de Raadt
2001-06-23join .%A entries; most by bk@rt.fmTheo de Raadt
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-21Sync usage() output with man page; mpech@prosoft.org.lvAaron Campbell
2000-10-17- Add a DIAGNOSTICS section explaining "the passwd file is busy".Aaron Campbell
- Some other cleanups.
2000-10-07Reword a sentence to correct bad grammar.Aaron Campbell
2000-09-26Do not permit non-printable characters in the passwd file; deraadt@ okAaron Campbell
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-23Fix some formatting problems I missed before.Aaron Campbell
2000-03-23Change prompt string from "Location:" to "Office Location:", to disambiguateAaron Campbell
from what is expected, and to be consistent with finger(1); from FreeBSD. This file was missed from a previous commit. :-(
2000-03-22Note that ``chfn'' and ``chsh'' are synonyms for ``chpass'', and reflect thisAaron Campbell
in the NAME section as well; d@, deraadt@ ok
2000-03-21The BUGS section comes after HISTORY, usually.Aaron Campbell
2000-03-05Change prompt string from "Location:" to "Office Location:", to disambiguateAaron Campbell
from what is expected, and to be consistent with finger(1); from FreeBSD.
1999-12-15these strcpy are fineTheo de Raadt
1999-12-05Fix temp file unlinking. We use atexit() since the libutil passwdTodd C. Miller
routines do their own exit.
1999-11-28Check for size change as well as change in time. Scripted changesHakan Olsson
usually finish in less than a second. ('vipw' already does this.)
1999-09-29Check malloc(3) return. deraadt@ okAlex Feldman
1999-08-21Document the YP optionsNiklas Hallqvist
1999-08-06uid_t and gid_t, and use %uTheo de Raadt
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
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-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
1998-09-23usr.bin/ man page repairs, a - eAaron Campbell
1998-08-03use __prognameTodd C. Miller
1998-08-02add close on exec flag to all opensTodd C. Miller
1998-06-14fix gecos subfield descriptionTheo de Raadt
1998-05-29Remove shadow decl.Jason Downs
1998-05-29put temp file _PATH_VARTMPTodd C. Miller
1998-05-28unlink tmpfile; noted by chris@dqc.orgTheo de Raadt
1998-05-28permit any gecos field to be emptyTheo de Raadt
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1998-03-24prettyTheo de Raadt
1998-03-18.Ev EDITORTheo de Raadt
1998-03-15Capitalize the title of Unix Password Security correctly.gene
1997-09-21$OpenBSD$Theo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
1997-04-19Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''Todd C. Miller
Same change doen for SKEY, YP, and KERBEROS5. This allows people to override those setting in /etc/mk.conf.
1997-02-14#include <stdlib.h>Niklas Hallqvist
1997-02-13fix YP and non-YP cases to exit/warn nicelyTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-20better error message if unable to create password temp file.Todd C. Miller
1996-10-03Allow build with YP aka NIS supportThorsten Lockert