ed
9b380e30d4
Build usr.bin/ with WARNS=6 by default.
...
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
ed
14b790b0cf
Mute some warnings on uninitialized variables.
...
The code does the right thing, but the compiler is unable to figure it
out. All paths that use that variable use the same invariant.
2010-01-02 10:14:35 +00:00
delphij
0842b7d53f
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
delphij
b963db4652
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
ru
29dcd05010
Markup nits.
2007-11-07 07:59:38 +00:00
brian
66da1b8b10
Fix a typo
2007-04-03 19:14:39 +00:00
ru
388e590f95
Reimplementation of world/kernel build options. For details, see:
...
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)
2006-03-17 18:54:44 +00:00
seanc
20ffcc6ac1
Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).
2005-08-02 21:38:03 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
3666aefb6a
Fixed xref.
2005-01-21 10:48:35 +00:00
ache
2c44d8815c
NO_NIS cleanup: LINKS and MLINKS
2004-12-29 08:16:39 +00:00
ru
ee5b7e52fa
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
ru
fb1d8b3724
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
nectar
8d0a63adb5
While I really liked the error message one received from `passwd'
...
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.
2003-04-18 21:27:09 +00:00
ru
4979ab8d81
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
charnier
b50035c8cf
Introduce enumerate of options using the standard way.
...
Remove .Pp between items.
2002-10-16 15:32:16 +00:00
jedgar
7a96d67f52
#include <stdlib.h> for exit(3) prototype.
2002-05-11 03:18:14 +00:00
des
67faa788b7
These files haven't been used in a while.
2002-05-08 01:35:22 +00:00
markm
06bdac1d86
Fix VCS inclusions.
2002-04-28 11:52:43 +00:00
des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
charnier
ad8a79e6a5
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
des
1e867a64f1
PAMified passwd(1). Some NIS-related issues remain to be solved, but this
...
should work for everyday use.
Sponsored by: DARPA, NAI Labs
2002-04-15 03:02:57 +00:00
des
38c9f51633
Remove bogus dependency on rlogin.
2002-04-13 23:31:27 +00:00
imp
1698cb216e
remove __P
2002-03-22 01:33:25 +00:00
cjc
51b661db90
Fix world breakage introduced by my recent modifications to
...
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>
2002-03-18 12:55:28 +00:00
des
0f2cb9b020
Apply the following mechanical transformations in preparation for
...
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
2002-02-06 13:30:31 +00:00
alfred
4b6dfb0371
The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks
...
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
2002-02-05 19:26:04 +00:00
ru
bc205d4152
Set BINOWN=root explicitly for setuid root binaries.
...
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.
2001-09-13 06:48:18 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ru
89596e4538
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
assar
a8f26efb45
reset uid back to the user before doing kerberised change password.
...
root permission is not needed and the kerberos library is paranoid
about access control to the ticket file
PR: bin/20779
2001-03-12 03:52:00 +00:00
markm
51b4362532
Updates for Blowfish password hashing.
2001-03-11 16:37:33 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
ru
a6f5d950d8
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
sheldonh
2a3644510a
Correct a few typos, including a mis-represented option (-s instead of
...
-h for NIS host).
Submitted by: Peter Avalos <pavalos@theshell.com>
2000-09-18 07:45:47 +00:00
green
aabc443d9c
Fix a premature freeing bug found with malloc debugging courtesy John Hay.
...
Submitted by: jhay
2000-08-26 03:42:51 +00:00
green
67c40ef892
Add working and easy crypt(3)-switching. Yes, we need a whole new API
...
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
2000-08-22 02:15:54 +00:00
kris
0d1f47825b
Buildworld fixes for NO_OPENSSH and NO_OPENSSL
...
Approved by: jkh
2000-03-09 06:29:05 +00:00
sheldonh
49c4458c80
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
markm
7926f9a427
Use libcrypto in place of libdes.
2000-02-24 21:06:22 +00:00
nik
ba43d28ef0
Teach passwd about a new "mixpasswordcase" login.conf parameter. If this
...
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
2000-02-11 14:08:44 +00:00
nik
83b8d2aa7a
Teach passwd about a new "mixpasswordcase" login.conf parameter. If this
...
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
2000-02-11 13:45:51 +00:00
peter
d44e2d4226
Revert the libcrypt/libmd stuff back to how it was. This should not have
...
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.
1999-12-18 13:55:17 +00:00
marcel
e32efbad28
Add libmd (or move it after libcrypt). We don't want the linker to be
...
smart because it will definitely get it wrong. This popped up during
cross-linking.
1999-12-16 10:55:45 +00:00
roger
12f5be6150
Update PicoBSD so it does not need to patch the passwd Makefile.
1999-10-30 09:19:30 +00:00
markm
d8bdd85855
Change edistribution to krb4 in preaparation for K5
1999-09-19 22:26:02 +00:00
peter
cc8565d1c5
Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and
...
we have enough pseudo-options already.
1999-09-06 17:30:03 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
sheldonh
bc7c4b861c
Allow comments and blank lines as advertised in passwd(5).
...
PR: 12828
Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
1999-07-29 16:30:35 +00:00