aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/passwd
Commit message (Collapse)AuthorAgeFilesLines
* Markup nits.Ruslan Ermilov2007-11-071-2/+5
| | | | Notes: svn path=/head/; revision=173409
* Fix a typoBrian Somers2007-04-031-1/+1
| | | | Notes: svn path=/head/; revision=168320
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-1/+3
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).Sean Chittenden2005-08-021-0/+1
| | | | Notes: svn path=/head/; revision=148651
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Fixed xref.Ruslan Ermilov2005-01-211-1/+1
| | | | Notes: svn path=/head/; revision=140568
* NO_NIS cleanup: LINKS and MLINKSAndrey A. Chernov2004-12-291-0/+2
| | | | Notes: svn path=/head/; revision=139397
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131507
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131491
* While I really liked the error message one received from `passwd'Jacques Vidrine2003-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. Notes: svn path=/head/; revision=113693
* mdoc(7) police: Deal with self-xrefs.Ruslan Ermilov2002-12-241-2/+2
| | | | Notes: svn path=/head/; revision=108257
* Introduce enumerate of options using the standard way.Philippe Charnier2002-10-161-12/+10
| | | | | | | Remove .Pp between items. Notes: svn path=/head/; revision=105257
* #include <stdlib.h> for exit(3) prototype.Chris D. Faulhaber2002-05-111-0/+1
| | | | Notes: svn path=/head/; revision=96384
* These files haven't been used in a while.Dag-Erling Smørgrav2002-05-083-480/+0
| | | | Notes: svn path=/head/; revision=96204
* Fix VCS inclusions.Mark Murray2002-04-283-6/+9
| | | | Notes: svn path=/head/; revision=95627
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-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}/. Notes: svn path=/head/; revision=95258
* Use `The .Nm utility'Philippe Charnier2002-04-201-5/+8
| | | | Notes: svn path=/head/; revision=95124
* PAMified passwd(1). Some NIS-related issues remain to be solved, but thisDag-Erling Smørgrav2002-04-152-286/+118
| | | | | | | | | should work for everyday use. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94719
* Remove bogus dependency on rlogin.Dag-Erling Smørgrav2002-04-131-4/+3
| | | | Notes: svn path=/head/; revision=94626
* remove __PWarner Losh2002-03-222-4/+4
| | | | Notes: svn path=/head/; revision=92921
* Fix world breakage introduced by my recent modifications toCrist J. Clark2002-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> Notes: svn path=/head/; revision=92579
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-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 Notes: svn path=/head/; revision=90297
* The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacksAlfred Perlstein2002-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 Notes: svn path=/head/; revision=90256
* Set BINOWN=root explicitly for setuid root binaries.Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=83391
* Remove whitespace at EOL.Dima Dorfman2001-07-151-8/+8
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+0
| | | | Notes: svn path=/head/; revision=74848
* reset uid back to the user before doing kerberised change password.Assar Westerlund2001-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 Notes: svn path=/head/; revision=74137
* Updates for Blowfish password hashing.Mark Murray2001-03-111-2/+6
| | | | Notes: svn path=/head/; revision=74107
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-15/+15
| | | | Notes: svn path=/head/; revision=68963
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-14/+7
| | | | Notes: svn path=/head/; revision=68575
* Correct a few typos, including a mis-represented option (-s instead ofSheldon Hearn2000-09-181-4/+4
| | | | | | | | | -h for NIS host). Submitted by: Peter Avalos <pavalos@theshell.com> Notes: svn path=/head/; revision=66022
* Fix a premature freeing bug found with malloc debugging courtesy John Hay.Brian Feldman2000-08-261-1/+5
| | | | | | | Submitted by: jhay Notes: svn path=/head/; revision=65101
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIBrian Feldman2000-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 Notes: svn path=/head/; revision=64918
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLKris Kennaway2000-03-091-1/+1
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57841
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-14/+28
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* Use libcrypto in place of libdes.Mark Murray2000-02-241-2/+2
| | | | Notes: svn path=/head/; revision=57450
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisNik Clayton2000-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 Notes: svn path=/head/; revision=57143
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisNik Clayton2000-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 Notes: svn path=/head/; revision=57141
* Revert the libcrypt/libmd stuff back to how it was. This should not havePeter Wemm1999-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. Notes: svn path=/head/; revision=54782
* Add libmd (or move it after libcrypt). We don't want the linker to beMarcel Moolenaar1999-12-161-6/+7
| | | | | | | | smart because it will definitely get it wrong. This popped up during cross-linking. Notes: svn path=/head/; revision=54677
* Update PicoBSD so it does not need to patch the passwd Makefile.Roger Hardiman1999-10-301-0/+25
| | | | Notes: svn path=/head/; revision=52650
* Change edistribution to krb4 in preaparation for K5Mark Murray1999-09-191-1/+1
| | | | Notes: svn path=/head/; revision=51436
* Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional andPeter Wemm1999-09-061-1/+1
| | | | | | | we have enough pseudo-options already. Notes: svn path=/head/; revision=51025
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
| | | | Notes: svn path=/head/; revision=50477
* Allow comments and blank lines as advertised in passwd(5).Sheldon Hearn1999-07-291-2/+2
| | | | | | | | PR: 12828 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp> Notes: svn path=/head/; revision=49218
* Clarify when the user gets a prompt for the old password, and thatGreg Lehey1999-05-031-13/+33
| | | | | | | | | passwords are not echoed. Get quotes right in troff. Notes: svn path=/head/; revision=46350
* Change references from "passwordperiod" to "passwordtime", sinceTim Vanderhoek1999-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... Notes: svn path=/head/; revision=46209
* Ignore errors from chflags. This makes it possible to make installworldDag-Erling Smørgrav1999-02-141-3/+3
| | | | | | | with DESTDIR set to an NFS-mounted file system. Notes: svn path=/head/; revision=43994
* Back out the new crypt(3) stuff untill we can go through an independantMark Murray1999-01-232-154/+31
| | | | | | | "make world" to make sure everything works properly. Notes: svn path=/head/; revision=43093