freebsd-nq/usr.bin
Crist J. Clark 8c44e77923 It was possible for an unprivileged user to tie up the password
information (no one else can vipw(8), chpass(1), or even passwd(1)),
either on purpose or by accident, until an administrator manually
intervened. Instead, do not lock the master.passwd file while a user
is editing his information. But once we go to write the new
information, check that the modified user's information has not
changed in the password database since we started. Abort the changes
if it has.

Add a $FreeBSD$ to pw_copy.h.

PR:		i386/35816
Obtained from:	NetBSD
MFC after:	1 week
2002-03-18 02:22:53 +00:00
..
apply Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ar Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
at mdoc(7) police: markup fixes. 2002-03-15 15:26:57 +00:00
awk To quote BDE: "the k part of awk should understand the ctype macros and not 2002-03-06 18:37:26 +00:00
banner Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
basename Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
biff Add header to prototype exit(3). Fix a style bug. 2002-02-16 09:25:49 +00:00
brandelf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
bzip2 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
c89 Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
calendar Add myself to this list. 2002-03-15 18:49:53 +00:00
cap_mkdb Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
chat Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
checknr 1) Don't use -Wall in Makefile. 2002-02-27 15:49:07 +00:00
chflags Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
chkey Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
chpass It was possible for an unprivileged user to tie up the password 2002-03-18 02:22:53 +00:00
cksum Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
cmp Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
col Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
colcrt Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
colldef Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
colrm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
column Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
comm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
compile_et
compress Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ctags Add missing "#include <string.h>" for memcmp, noticed by gcc3. 2002-02-27 14:56:58 +00:00
cut Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
dig
dirname Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
dnskeygen
dnsquery
doscmd Update FreeBSD SCM IDs. 2002-03-07 12:52:27 +00:00
du Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ee Add support for french and german locales in tcsh's way. 2002-03-04 12:37:08 +00:00
enigma Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
env Leave the `copyright' variable exposed, since the main purpose of it 2002-03-07 10:06:00 +00:00
expand Boundary check an array holding tab stops. 2002-03-06 12:05:17 +00:00
false Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fetch #include <sys/time.h> instead of depending on namespace pollution in 2002-02-25 05:00:39 +00:00
file Install files via FILES. 2001-12-17 16:02:15 +00:00
file2c Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
find 1) Remove -Wall from Makefile. 2002-02-27 17:57:00 +00:00
finger Unremoved used includes. <sys/time.h> is needed if <sys/stat.h> isn't 2002-02-25 05:09:12 +00:00
fmt Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fold Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
from Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fstat Add support for devfs. In other words, for -CURRENT, make work at all 2001-12-17 13:42:46 +00:00
fsync Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ftp Connect lukemftp to the build as the default ftp client. Lukemftp 2001-12-13 23:46:44 +00:00
gcore Removed unused include of kernel-only file <sys/lock.h>. 2001-10-13 04:54:03 +00:00
gencat * Don't SEGFAULT on attempt to write nothing (if no source files were 2002-02-13 13:00:33 +00:00
getconf mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getopt Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
gprof Make this build on sparc64. 2002-03-10 01:25:47 +00:00
head mdoc(7) police: pedantry. 2002-03-15 15:28:12 +00:00
hesinfo Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
hexdump Slightly more efficient version of rev 1.6. 2002-03-07 23:01:55 +00:00
host
id Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
indent Make this compile cleanly when warnings are enabled: 2001-10-28 18:35:32 +00:00
ipcrm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ipcs Fixed divots that I created when I moved prototypes of group_from_gid 2002-02-19 00:05:59 +00:00
join mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
jot Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
kdump Really fix this work to work. While rev 1.24 did allow awk to run w/o 2001-11-01 02:16:10 +00:00
kenv Deuglify the usage message by putting the program name after the 2001-11-15 15:46:45 +00:00
keylogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keylogout Include missing header files which define functions for which gcc has 2001-06-24 19:41:18 +00:00
killall killall operates on all processes owned by the real uid, not the 2001-11-30 00:30:28 +00:00
ktrace Consistently refer to the trace file of ktrace as 'trfile'. 2002-03-03 01:12:25 +00:00
lam Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
last Add a new "-y" flag which causes the year to be included in the 2002-03-01 21:12:19 +00:00
lastcomm Fixed divots that I created when I moved prototypes of group_from_gid 2002-02-19 00:05:59 +00:00
ldd mdoc(7) police: kill hard sentence breaks. 2002-03-15 15:31:54 +00:00
leave Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
less Update for less v371 2002-01-07 20:37:33 +00:00
lessecho
lesskey
lex ``recognized -> recognize'' where appropriate. 2001-08-23 21:13:31 +00:00
limits Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
locate o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
lock Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
lockf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
logger Improve error reporting - report error message when there is one, or 2002-02-27 22:38:59 +00:00
login Simple fix so the 'LOGIN FAILURE' message send to syslog will include 2002-03-12 19:48:32 +00:00
logname Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
look Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
lorder
lsvfs Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
m4 This commit was generated by cvs2svn to compensate for changes in r90744, 2002-02-16 21:27:48 +00:00
mail #include <sys/time.h> instead of depending on namespace pollution in 2002-02-25 05:16:22 +00:00
make make(1) claims to ignore the remainder of a conditional once its value 2002-02-20 14:31:19 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
minigzip Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkdep Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkfifo Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
mklocale o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
mkstr Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
mktemp Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
msgs Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
mt mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ncal Remove gcc specific compiler flags, at least one of which doesn't work with 2002-01-08 08:53:12 +00:00
ncplist
ncplogin Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
netstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
newkey Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
nfsstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
nice Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
nl Fix typo. 2001-11-24 21:22:16 +00:00
nm Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
nohup Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
objformat Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
opieinfo Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiekey Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiepasswd Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
pagesize mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
passwd Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
paste Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
pr Ensure err is a useful value to prevent using fputs() with a NULL stream. 2002-02-17 20:53:56 +00:00
printenv Use new ID scheme. 2002-02-21 02:17:57 +00:00
printf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
quota Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
ranlib mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
renice Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
rev Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
rlogin Fix typo: supporting -> support. 2002-03-17 05:24:56 +00:00
rpcgen Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
rpcinfo The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks 2002-02-05 19:26:04 +00:00
rs Do not overrun entry array when printing output tables. 2001-09-10 15:09:12 +00:00
rsh Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rup If the remote uptime is less than one minute, print the uptime in 2001-10-17 01:44:34 +00:00
ruptime Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rusers I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
rwall Revert/fix the most controversial parts of the last commit: 2002-03-07 14:11:41 +00:00
rwho I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
sasc Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
script Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2. 2001-12-12 23:23:52 +00:00
sed Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount Warns cleanups. This makes the showmount code warns clean, but some 2001-12-03 21:25:28 +00:00
size Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
soelim Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
split Add -a option (SUSv3) to split(1). 2002-02-01 06:55:18 +00:00
strings Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
strip Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
su Belatedly OpenPAMify. I forgot this patch in last night's megacommit. 2002-03-06 12:46:56 +00:00
symorder WARNS=2 fixes, Use __FBSDID(), kill register keyword. 2001-12-12 23:02:30 +00:00
systat Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
tail WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
talk o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
tconv Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tcopy Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
tee Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
telnet Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tftp 1) Move FreeBSD ID below vendor ID and don't compile vendor ID. 2002-02-27 15:22:12 +00:00
time Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
tip Fix merge conflicts, and because this still has a zillion warnings, 2001-12-20 14:25:46 +00:00
top Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
touch WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00
tput Silence some WFORMAT=1 warnings 2002-02-04 02:37:09 +00:00
tr properly handle zero length first string when doing -c 2002-03-02 10:36:37 +00:00
true Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truncate Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truss Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
tset WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
tsort Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tty Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
uac Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ul WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uname mdoc(7) police: bump document date for the -p change, tidy up the markup. 2002-01-17 10:38:32 +00:00
unexpand WARNS=2 is to become the default, so remove. Use __FBSDID(). 2001-12-11 23:18:25 +00:00
unifdef WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:20:23 +00:00
uniq WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
units Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon. 2001-12-18 11:25:58 +00:00
unvis WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
usbhidctl WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
users WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uudecode Add base64 support to uuencode(1) and uudecode(1), as specified by SUSv3. 2002-03-05 03:27:47 +00:00
uuencode mdoc(7) police: fix markup and uudecode(1) -o option description. 2002-03-15 16:03:29 +00:00
vacation Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
vgrind Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
vi Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
vis WARNS=2 fix, add externs.h to centralise external prototypes, 2001-12-11 23:02:44 +00:00
vmstat Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
w Back out part of rev 1.51. The lesser impact fix is to just remove 2002-03-07 22:36:56 +00:00
wall WARNS=2 fix, use __FBSDID(). 2001-12-11 22:22:15 +00:00
wc Leave the `copyright' variable exposed, since the main purpose of it 2002-03-07 10:06:00 +00:00
what Use __FBSDID(). remove WARNS=2 as this is going to be default. 2001-12-11 22:25:43 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Off by one error in checking max file name length. 2002-03-09 15:30:42 +00:00
who WARNS=2 fix, use __FBSDID(). 2001-12-11 22:29:53 +00:00
whois Leave the `copyright' variable exposed, since the main purpose of it 2002-03-07 10:06:00 +00:00
window Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
write 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID. 2002-02-27 14:40:09 +00:00
xargs ANSIfy: Function declarations and prototypes, use of environ(7). 2002-03-15 22:54:58 +00:00
xinstall Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
xlint Build lint libraries. 2002-03-17 10:00:56 +00:00
xstr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
yacc Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
yes Remove WARNS=2 as this is to become default. 2001-12-11 22:56:05 +00:00
ypcat Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
ypmatch Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
ypwhich 1) Remove blank line between include of sys/cdefs.h and __FBSDID 2002-02-27 14:32:43 +00:00
Makefile Turn back on (x)lint. It is working just fine. 2002-03-12 13:43:02 +00:00
Makefile.inc Backout -Werror protection. No need to walk all over the upcoming 2002-02-06 18:13:12 +00:00