summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd
Commit message (Collapse)AuthorAgeFilesLines
* While I really liked the error message one received from `passwd'nectar2003-04-181-6/+3
| | | | | | when it could not determine the source of the user's passwd(5) entry, it might be somewhat confusing now that we can have sources that are not compiled into libc.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-2/+2
|
* Introduce enumerate of options using the standard way.charnier2002-10-161-12/+10
| | | | Remove .Pp between items.
* #include <stdlib.h> for exit(3) prototype.jedgar2002-05-111-0/+1
|
* These files haven't been used in a while.des2002-05-083-480/+0
|
* Fix VCS inclusions.markm2002-04-283-6/+9
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Use `The .Nm utility'charnier2002-04-201-5/+8
|
* PAMified passwd(1). Some NIS-related issues remain to be solved, but thisdes2002-04-152-286/+118
| | | | | | should work for everyday use. Sponsored by: DARPA, NAI Labs
* Remove bogus dependency on rlogin.des2002-04-131-4/+3
|
* remove __Pimp2002-03-222-4/+4
|
* Fix world breakage introduced by my recent modifications tocjc2002-03-182-1/+3
| | | | | | | chpass(8). The relations between libc, libpam, chpass, passwd, and vipw are a mess and probably should be cleaned up. Submitted by: Peter Pentchev <roam@ringlet.net>
* Apply the following mechanical transformations in preparation fordes2002-02-061-3/+3
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacksalfred2002-02-051-3/+19
| | | | | | | | | | | | | were removed and replaced them with clnt_tp_create, now the af_local support is fixed. I also removed the hack how rpcinfo contacted rpcbind, now we can relay on clnt_tp_create create the client-handle for us. Only rpcbind itself needs a hardcoded socket-path. Submitted by: mbr Also add $FreeBSD
* 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
|
OpenPOWER on IntegriCloud