freebsd-nq/usr.sbin
Adrian Chadd 3386ded6a9 Change the behaviour of adduser to match the previous incarnation a little more.
If any of the given groups do not exist complain and let the user try again.
This saves the user from discovering at the end of the process that they've
forgotten to add a group or they've typoed.

Thanks to cmc/dougb for pointing out how bad my sh fu actually is.

Original code by: me
Scary sh rewrite by: dougb

Reviewed by:	dougb
2003-02-08 08:04:53 +00:00
..
ac Remove unused #includes. Eliminate castings by using size_t instead of int. 2002-10-17 13:19:47 +00:00
accton The .Nm utility 2002-07-14 14:47:15 +00:00
acpi Add code to parse the contents of an ACPI MADT table and to dump its 2003-01-08 20:46:25 +00:00
adduser Change the behaviour of adduser to match the previous incarnation a little more. 2003-02-08 08:04:53 +00:00
amd Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ancontrol Add support for MPI-350 the mini-pci Cisco Aironet card. This needs more 2002-12-29 19:22:07 +00:00
apm mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
apmd english(4) police. 2002-12-27 12:15:40 +00:00
arp Don't hide global `s'. 2003-01-17 08:10:43 +00:00
atm de-__P() 2002-10-10 00:32:55 +00:00
bluetooth Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
boot0cfg Use the new sector0 munging ioctls to make boot0cfg work under GEOM. 2002-12-29 15:01:58 +00:00
boot98cfg The .Nm utility 2002-07-14 14:47:15 +00:00
bootparamd The .Nm utility 2002-07-14 14:47:15 +00:00
btxld Added MI version of <sys/imgact_aout.h>, "a.out.h", which is 2003-02-04 18:56:34 +00:00
burncd burncd format accepts either 'dvd+rw' or 'dvd-rw' not 'dwd+rw'. 2003-01-23 09:12:09 +00:00
cdcontrol The default CD drive is /dev/cd0, not /dev/cd0c. 2002-12-03 15:41:30 +00:00
chkgrp Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
chown Reword the description of -R a bit and add a note about being careful 2003-01-26 02:40:23 +00:00
chroot The .Nm utility 2002-07-14 14:47:15 +00:00
ckdist mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
config Remove this Makefile, these docs are built by the Makefiles in src/share/doc/smm. 2003-02-01 20:34:04 +00:00
cron english(4) police. 2002-12-27 12:15:40 +00:00
crunch Part 1/3 of unbreaking cross releases: 2003-01-29 08:37:26 +00:00
ctm Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
daemon MFS: 1.2.2.2 2003-02-05 19:16:18 +00:00
dev_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
devinfo o Don't print devices that aren't attached unless run with the newly 2002-09-20 02:26:58 +00:00
digictl The .Nm utility 2002-07-14 14:47:15 +00:00
editmap Add editmap, a new utility which comes with sendmail 8.12 for editing maps in 2002-02-17 22:02:59 +00:00
edquota Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattr Document the -n option and fix manpage Fl usage. 2002-10-10 17:19:43 +00:00
extattrctl The .Nm utility 2002-07-14 14:47:15 +00:00
faithd Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
fdcontrol english(4) police. 2002-12-27 12:15:40 +00:00
fdformat Include <string.h> for some prototypes, rather than depending on 2002-04-01 21:13:17 +00:00
fdread Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fdwrite Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fwcontrol Improve alignment in printf(). 2003-01-30 03:46:48 +00:00
getfmac sigh... revert the previous change; this isn't getpmac 2003-01-15 03:13:51 +00:00
getpmac Cross-reference the appropriate mac library functions. 2003-01-15 03:13:50 +00:00
gifconfig english(4) police. 2002-12-27 12:15:40 +00:00
i4b Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
ifmcstat The .Nm utility 2002-07-14 14:47:15 +00:00
inetd Using LOGIN_SETALL &~LOGIN_SETMAC to avoid setting the MAC label improperly, 2003-01-16 03:41:57 +00:00
iostat english(4) police. 2002-12-27 12:15:40 +00:00
ipftest * ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to 2002-03-20 08:57:10 +00:00
ipresend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipsend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
iptest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
IPXrouted Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
jail Fix example, we do not need NO_MAKEDEV_RUN any more. 2002-10-22 15:03:51 +00:00
kbdcontrol de-__P() 2002-07-11 21:13:37 +00:00
kbdmap mdoc(7) police: bump document date for the C rewrite, nit. 2002-12-04 14:45:48 +00:00
kernbb Update kernbb(8) to deal with GCC's new way of doing things. 2003-01-06 07:46:26 +00:00
keyadmin Arrange to not have /* inside a comment. Typo fix. 2002-10-16 15:56:13 +00:00
keyserv Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
kgmon Fix int/size_t mismatch for sysctl arguments. Try not to introduce more 2002-07-30 04:45:14 +00:00
kgzip Make this work on non-i386 as well. (Needed for cross-releases.) 2003-02-04 16:01:00 +00:00
kldxref Fix kldxref on sparc64 by allowing non-trivial relocations to be performed 2003-01-21 03:51:53 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr english(4) police. 2002-12-27 12:15:40 +00:00
lptcontrol The .Nm utility 2002-07-14 14:47:15 +00:00
mailstats Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
mailwrapper Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
makemap Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol mdoc(7) police: markup fixes. 2002-11-27 15:31:08 +00:00
mergemaster * Update copyright year. 2003-02-05 11:09:21 +00:00
mixer Print old mixer levels when setting new ones. 2002-12-30 04:23:08 +00:00
mld6query The .Nm utility 2002-07-14 14:47:15 +00:00
mlxcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs This really isn't WARNS clean. 2002-12-30 09:38:46 +00:00
mountd Implement nonblocking tpc-connections. rpcgen -m does still 2003-01-16 07:27:30 +00:00
moused Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
mptable
mrouted english(4) police. 2002-12-27 12:15:40 +00:00
mtest The .Nm utility 2002-07-14 14:47:15 +00:00
mtree Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
named Install the rfc 2317 notes 2002-07-01 01:23:59 +00:00
named.reload
named.restart
ndc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ndp Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
newsyslog english(4) police. 2002-12-27 12:15:40 +00:00
nfsd Update manpage to match the code, vfsload() is not used 2002-08-11 15:19:49 +00:00
ngctl Add missing "of". 2002-12-14 00:20:43 +00:00
nghook The .Nm utility 2002-07-14 14:47:15 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nslookup Install files via FILES. 2001-12-17 16:21:59 +00:00
nsupdate Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ntp Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
ofwdump mdoc(7) police: tiny markup nits. 2002-12-12 13:58:27 +00:00
pccard Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
pciconf Fix up some grammar. 2003-01-09 04:35:38 +00:00
pcvt Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install even the default case in a switch requires some action (add break;) 2003-02-03 22:47:03 +00:00
pnpinfo Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ppp Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
pppctl The .Nm utility 2002-07-14 14:47:15 +00:00
pppd Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
pppstats Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
praliases Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
prefix Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
procctl The .Nm utility 2002-07-14 14:47:15 +00:00
pstat - Modernize the format of the open file showing mode output: 2003-01-31 15:16:52 +00:00
pw Changes so the 'pw' command will allow '$' as the last character in a userid 2003-01-28 01:21:57 +00:00
pwd_mkdb Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
quot Back out rev 1.19; getbsize(3)'s original interface has been restored. 2002-12-30 18:21:47 +00:00
quotaon Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
rarpd Add "-t" to useage message and comment. (The -t option was added 2002-09-15 15:37:50 +00:00
raycontrol Replace the remaining strcpy() instances with strlcpy(), fixing a segfault 2002-12-02 20:29:08 +00:00
repquota Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt The .Nm utility 2002-07-14 14:47:15 +00:00
route6d Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
rpc.lockd Implement nonblocking tpc-connections. rpcgen -m does still 2003-01-16 07:27:30 +00:00
rpc.statd Implement nonblocking tpc-connections. rpcgen -m does still 2003-01-16 07:27:30 +00:00
rpc.umntall Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
rpc.yppasswdd Implement nonblocking tpc-connections. rpcgen -m does still 2003-01-16 07:27:30 +00:00
rpc.ypupdated Unbogotify the comment containing the RCS Id. 2002-02-15 00:46:32 +00:00
rpc.ypxfrd english(4) police. 2002-12-27 12:15:40 +00:00
rpcbind Implement nonblocking tpc-connections. rpcgen -m does still 2003-01-16 07:27:30 +00:00
rrenumd english(4) police. 2002-12-27 12:15:40 +00:00
rtadvd Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
rtprio Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
rtsold mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
rwhod Comment out WARNS?=4 to unbreak the Alpha build. 2002-07-15 17:11:20 +00:00
sa Get rid of %qd, and unbreak Alpha build. 2002-07-15 16:05:15 +00:00
sade Relocate a call to enable inetd so that it is set regardless of 2003-02-06 01:55:40 +00:00
sendmail No need for the OPENSSL_NO_KRB5 switch anymore. 2003-01-31 23:26:55 +00:00
setfmac Cross-reference mac(4). 2003-01-15 03:09:01 +00:00
setkey Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
setpmac Cross-reference mac(4). 2003-01-15 03:09:01 +00:00
sgsc
sicontrol mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
sliplogin The .Nm utility 2002-07-14 14:47:15 +00:00
slstat WARNS=2, de-__P() 2002-07-11 22:50:36 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
stallion Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
sysinstall Relocate a call to enable inetd so that it is set regardless of 2003-02-06 01:55:40 +00:00
syslogd Various language tweaks. 2002-12-24 01:04:42 +00:00
tcpdchk Don't clobber CFLAGS. 2001-08-04 21:48:18 +00:00
tcpdmatch Don't clobber the default for CFLAGS. 2001-08-31 11:05:24 +00:00
tcpdump Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
timed Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
traceroute Update for traceroute 1.4a12 2002-07-28 02:27:07 +00:00
traceroute6 Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
trpt Unbreak Alpha build. 2002-07-16 09:58:36 +00:00
tzsetup The .Nm utility 2002-07-14 14:47:15 +00:00
ugidfw mdoc(7) police: markup overhaul. 2002-12-12 14:09:25 +00:00
usbd Eliminate hard sentence breaks. 2003-01-30 22:38:54 +00:00
usbdevs The .Nm utility 2002-07-14 14:47:15 +00:00
vidcontrol Add a new -H' modifier, which when combined with -p' or `-P' allows to dump 2002-08-19 16:33:23 +00:00
vipw Don't use NULL when we really mean 0 for call to pw_edit. 2002-08-21 19:01:50 +00:00
vnconfig Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
watch Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
wicontrol - Restore header printing to wi_printaplist() 2003-01-21 07:28:57 +00:00
wlconfig The .Nm utility 2002-07-14 14:47:15 +00:00
xten KNF. 2002-06-12 04:18:35 +00:00
yp_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
ypbind xids are u_int32_ts, which are not necessarily the same size as time_ts or 2002-09-16 21:39:42 +00:00
yppoll The .Nm utility 2002-07-14 14:47:15 +00:00
yppush The .Nm utility 2002-07-14 14:47:15 +00:00
ypserv ypserv(8) is now started from rc.d 2003-01-23 06:03:30 +00:00
ypset The .Nm utility 2002-07-14 14:47:15 +00:00
zic The .Nm utility 2002-07-14 14:47:15 +00:00
Makefile Always build kgzip(8); needed to cross-release i386. 2003-02-04 16:04:03 +00:00
Makefile.inc