summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
AgeCommit message (Collapse)Author
2010-10-15Switch the remaining users of libdes in src to libcrypto,Jonathan Gray
telnet portion partially from the latest heimdal. ok mikeb@
2010-07-11bcrypt_gensalt is already declared in pwd.hDavid Hill
"sure" deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-11-06-Wall -Wshadow clean, no binary changeDamien Miller
2008-07-04fix compilation for !YP case; ok millert@Damien Miller
2008-06-24implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of theTheo de Raadt
entire file. much help from kurt, and tested by many
2008-04-27Correct English.Joel Sing
ok jmc@
2008-01-02remove unused fileCharles Longeau
unused function initially spotted by tobias@, then I realized the whole file was unused. ok millert@ tobias@
2007-09-08Fix lint warning about unreachable code.Chad Loder
OK deraadt@
2007-08-14error out, instead of producing a warning and displaying that the YPAlexandre Anriot
password has changed, when the rpc.yppasswdd daemon is unreachable. ok deraadt@
2007-07-26Remove the space after "Password:" in password prompts where echo isTodd C. Miller
turned off. This is consistent with historic UNIX behavior.
2007-07-06dont inlucde <sys/syslimits.h> directly.Thordur I. Bjornsson
no binary change ok millert@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
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@