summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
AgeCommit message (Collapse)Author
2006-04-02oops, to64() is shared.Theo de Raadt
2006-04-02avoid lvalue cast by making local function be unsigned to begin withTheo de Raadt
2006-03-30minimal lint happiness, round 1Theo de Raadt
2006-01-22- drop privs before running krb5 codeBjorn Sandell
- avoid calling krb5_get_init_creds_password(3) with principal == NULL - try to change the kerberos password if there is a ticket file help from millert@, ok beck@
2005-12-18Indicate that the flags are exclusive, mention realm in the descriptionBjorn Sandell
for K and remove an error case for kerberos that doesn't apply nowdays. with jmc@
2005-12-12sync usage();Jason McIntyre
from david leonard (pr #4939);
2005-12-12- simplify synopsisJason McIntyre
- remove some .Bk/.Ek clutter - sort options list
2005-09-28pull in protos from rpcsvc/ypclnt.h; issue noted by leonardo@iken.com.brTheo de Raadt
2005-05-01spacingTheo de Raadt
2005-05-01knfTheo de Raadt
2005-05-01_yp_check() is a non-standard API. it leaves the domain bound, and theTheo de Raadt
fd use for that too. We are only using it to check if YP is alive, so, unbind YP right after... this removes the reserved port socket fd in the child..
2005-05-01run password strength checking regexes as user; ok deraadt@Damien Miller
2005-03-07simplify macro calls;Jason McIntyre
2005-03-04make :passwordtries=0:\ in login.conf work.Moritz Jodeit
from Ross Richardson. closes PR 4133. ok henning@ millert@
2004-12-20o some missing free()'s in error pathsMoritz Jodeit
o use FD_CLOEXEC instead of 1 o fix a crash when the round number of localcipher in the default section in login.conf was ommitted. noted by mpech@ ok mpech@, otto@, millert@, henning@
2004-11-02Do not modify ro mem and plug a mem leak. Happens when no cipherOtto Moerbeek
spec is found in login.conf. Found by Jerome Loyet. ok henning@ hshoexer@ and millert@ on an earlier version.
2004-10-12Actually, /etc/passwd is 6th Edition-style, not 7th. The only realTodd C. Miller
diff between /etc/passwd in 6th and 7th was the crypt() algorithm used and we no longer put encrypted passwords in /etc/passwd. From Matthew Gregan; OK otto@
2004-09-18ARGSUSED signal handlerTheo de Raadt
2004-09-18knfTheo de Raadt
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