summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd
Commit message (Collapse)AuthorAgeFilesLines
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Remove whitespace at EOL.dd2001-07-151-8/+8
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+0
|
* reset uid back to the user before doing kerberised change password.assar2001-03-121-0/+1
| | | | | | | root permission is not needed and the kerberos library is paranoid about access control to the ticket file PR: bin/20779
* Updates for Blowfish password hashing.markm2001-03-111-2/+6
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-15/+15
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-14/+7
|
* Correct a few typos, including a mis-represented option (-s instead ofsheldonh2000-09-181-4/+4
| | | | | | -h for NIS host). Submitted by: Peter Avalos <pavalos@theshell.com>
* Fix a premature freeing bug found with malloc debugging courtesy John Hay.green2000-08-261-1/+5
| | | | Submitted by: jhay
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIgreen2000-08-221-14/+7
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLkris2000-03-091-1/+1
| | | | Approved by: jkh
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-14/+28
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Use libcrypto in place of libdes.markm2000-02-241-2/+2
|
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisnik2000-02-111-5/+12
| | | | | | | | | | | | parameter is missing, or specified as above, then passwd behaves as normal when the user enters an all lower case password -- i.e., it prompts them to use mixed case, and will only grudgingly accept an all lower case password. If you negate this entry in login.conf, with "mixpasswordcase@", then passwd will allow all lower case passwords without complaining. Approved by: jkh
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisnik2000-02-111-2/+11
| | | | | | | | | | | | parameter is missing, or specified as above, then passwd behaves as normal when the user enters an all lower case password -- i.e., it prompts them to use mixed case, and will only grudgingly accept an all lower case password. If you negate this entry in login.conf, with "mixpasswordcase@", then passwd will allow all lower case passwords without complaining. Approved by: jkh
* Revert the libcrypt/libmd stuff back to how it was. This should not havepeter1999-12-181-7/+6
| | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
* Add libmd (or move it after libcrypt). We don't want the linker to bemarcel1999-12-161-6/+7
| | | | | smart because it will definitely get it wrong. This popped up during cross-linking.
* Update PicoBSD so it does not need to patch the passwd Makefile.roger1999-10-301-0/+25
|
* Change edistribution to krb4 in preaparation for K5markm1999-09-191-1/+1
|
* Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional andpeter1999-09-061-1/+1
| | | | we have enough pseudo-options already.
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Allow comments and blank lines as advertised in passwd(5).sheldonh1999-07-291-2/+2
| | | | | PR: 12828 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
* Clarify when the user gets a prompt for the old password, and thatgrog1999-05-031-13/+33
| | | | | | passwords are not echoed. Get quotes right in troff.
* Change references from "passwordperiod" to "passwordtime", sincehoek1999-04-301-2/+2
| | | | | | "passwordtime" is what passwd(1) has actually been using. I suspect passwordperiod was the original intent. I can't figure-out which, if either, BSDi uses. If anyone knows...
* Ignore errors from chflags. This makes it possible to make installworlddes1999-02-141-3/+3
| | | | with DESTDIR set to an NFS-mounted file system.
* Back out the new crypt(3) stuff untill we can go through an independantmarkm1999-01-232-154/+31
| | | | "make world" to make sure everything works properly.
* Added support for multiple hash formats, and new salt generation code.brandon1999-01-222-31/+154
| | | | | | | | | It selects which hash format to use by checking /etc/auth.conf for auth_default. Leaving auth_default disabled will give the current behaviour (use the same format as is currently used in the password, or if a new password default to what crypt likes best--des if it exists). Now you can set it to one of: des, best, md5 or sha1. best is a synonym for sha1, currently.
* We use login.conf, not login.capbillf1998-11-301-2/+2
| | | | | PR: doc/8897 Submitted by: Jonathan Hanna <pangolin@home.com>
* Use KJH's auth.conf parser to turn on/off Kerberos in userland.markm1998-10-092-2/+10
|
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* The host commandline option is -h and not -s.steve1998-08-241-2/+2
| | | | | PR: 7703 Submitted by: Yoshishige Arai <ryo2@on.rim.or.jp>
* Fix LIBDIR (for aout/ELF).markm1998-08-061-2/+2
|
* Use the correct name of the login.conf(5) capability (`passwordperiod' ->jkoshy1998-05-191-4/+4
| | | | `passwordtime').
* Fixed missing dependencies on headers generated by rpcgen, as usual.bde1998-05-101-11/+9
| | | | | Removed bogus dependencies of generated .c files on generated headers. Sorted sources lists.
* Ifdefed conditionally-unused variables.bde1998-03-231-1/+3
|
* Prevent passwd locking database forever waiting for user inputache1998-03-071-3/+4
| | | | Submitted by: Antti Kaipila <anttik@iki.fi>
* Fixed `make -jN' for large N, as usual.bde1998-03-061-2/+3
|
* Type fix: when -> withsteve1998-01-031-1/+2
| | | | | PR: 5420 Submitted by: Jonathan Hanna <jh@pc-21490.bc.rogers.wave.ca>
* Changes for KTH KerberosIV.markm1997-09-282-8/+7
| | | | Also quieten -Wall a bit.
* spelling corrections.wosch1997-09-131-1/+1
| | | | | PR: docs/4450 Submitted by: josh@quick.net
* Cosmetic in usage string and err() messages.charnier1997-07-312-22/+20
|
* Modify passwd and chpass to use new AF_LOCAL RPC interface instead ofwpaul1997-07-292-20/+25
| | | | old kludged-up 'yppasswd_comm' support.
* kill the undeadpeter1997-07-132-373/+0
|
* This commit was generated by cvs2svn to compensate for changes in r27241,bde1997-07-062-0/+373
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-062-0/+373
| | | | | | | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
| * recording cvs-1.6 file deathpeter1995-12-302-373/+0
| |
* | Remove srandomdev fallback codeache1997-06-141-3/+2
| |
* | login_getclass() -> login_getpwclass()davidn1997-05-101-2/+2
| |
* | Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.wpaul1997-03-291-1/+2
| | | | | | | | | | | | | | | | | | (I'm not sure why this happens, though I suspect it may be because the server is configured with only passwd maps instead of both passwd and master.passwd maps. This is allowed, but I think in this case pw_class is left NULL, hence the problem.) Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
OpenPOWER on IntegriCloud