freebsd-dev/sbin
Bill Paul 1e890b056a Just when you thought it was safe...
- getnetgrent.c: address some NIS compatibility problems. We really need
to use the netgroup.byuser and netgroup.byhost maps to speed up innetgr()
when using NIS. Also, change the NIS interaction in the following way:

If /etc/netgroup does not exist or is empty (or contains only the
NIS '+' token), we now use NIS exclusively. This lets us use the
'reverse netgroup' maps and is more or less the behavior of other
platforms.

If /etc/netgroup exists and contains local netgroup data (but no '+').
we use only lthe local stuff and ignore NIS.

If /etc/netgroup exists and contains both local data and the '+',
we use the local data nd the netgroup map as a single combined
database (which, unfortunately, can be slow when the netgroup
database is large). This is what we have been doing up until now.

Head off a potential NULL pointer dereference in the old innetgr()
matching code.

Also fix the way the NIS netgroup map is incorporated into things:
adding the '+' is supposed to make it seem as though the netgroup
database is 'inserted' wherever the '+' is placed. We didn't quite
do it that way before.

(The NetBSD people apparently use a real, honest-to-gosh, netgroup.db
database that works just like the password database. This is
actually a neat idea since netgroups is the sort of thing that
can really benefit from having multi-key search capability,
particularly since reverse lookups require more than a trivial
amount of processing. Should we do something like this too?)

- netgroup.5: document all this stuff.

- rcmd.c: some sleuthing with some test programs linked with my own
version of innetgr() has revealed that SunOS always passes the NIS
domain name to innetgr() in the 'domain' argument. We might as well
do the same (if YP is defined).

- ether_addr.c: also fix the NIS interaction so that placing the
'+' token in the /etc/ethers file makes it seem like the NIS
ethers data is 'inserted' at that point. (Chances are nobody will
notice the effect of this change, which is just te way I like it. :)
1995-08-07 03:42:14 +00:00
..
adjkerntz Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
badsect Submitted by: Philippe Charnier <charnier@lirmm.fr>, added to by bde 1995-04-02 16:52:14 +00:00
bsdlabel Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
clri Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
comcontrol Remove excessive argc checking. It was impossible to set `dtrwait' and 1995-01-10 01:42:24 +00:00
cxconfig Cronyx/Sigma sync/async serial driver with PPP support 1994-12-02 23:23:01 +00:00
disklabel Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
dmesg Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
dset Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
dump Man page was incorrectly pointing to /etc/dump, it should be /sbin/dump. 1995-07-15 10:44:19 +00:00
dumpfs Corrected message when no rotational position table is found. 1994-10-01 16:53:53 +00:00
dumplfs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
dumpon Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
fastboot Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
fdisk Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
fsck Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
fsck_ffs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
fsck_ifs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
ft Update this to the latest version from Steve Gerakines. This is an easy 1994-06-22 04:49:04 +00:00
i386 Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
ifconfig Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
init Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
ip_mroute_mod Makefile to generate the ip_mroute_mod.o LKM. After talking this over 1994-09-14 22:11:51 +00:00
ipfw Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
ldconfig Add an "-m" flag to merge instead of replace the entries. We can 1995-06-24 10:08:44 +00:00
md5 Fix to match new API. Fixes memory leak, faster. 1995-07-12 09:14:46 +00:00
mknod Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
modload Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
modunload Killed explicit OS specification. 1994-08-19 13:40:41 +00:00
mount Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount_cd9660 Include the special device in the error output so that it makes sense. 1995-02-15 14:29:26 +00:00
mount_devfs Obtained from: copied fro mount_kernfs 1995-04-21 01:17:50 +00:00
mount_fdesc Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_ifs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount_kernfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_lfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_msdos Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
mount_msdosfs Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
mount_nfs Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
mount_null This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
mount_nullfs This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
mount_portal Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount_portalfs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount_procfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_umap Use the correct file pointer when reading the group id map file. The old 1995-06-13 17:42:07 +00:00
mount_umapfs Use the correct file pointer when reading the group id map file. The old 1995-06-13 17:42:07 +00:00
mount_union Guess what 1994-11-20 22:47:52 +00:00
mount_unionfs Guess what 1994-11-20 22:47:52 +00:00
mountd Just when you thought it was safe... 1995-08-07 03:42:14 +00:00
newfs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
newlfs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
nfsd Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nfsiod Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nologin Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
ping Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
quotacheck `dev_bsize' must be reset to 1 before the bread() or 1995-06-21 03:55:12 +00:00
rdisc Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
reboot Install aliases "fasthalt" and "fastboot" for halt and boot respectively. 1994-08-21 05:48:34 +00:00
restore Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
route Missing 'break' after setting interface route flag was causing interface 1994-09-15 08:35:37 +00:00
savecore Remove a newline from the output of savecore(8), so the bogus number 1995-07-30 13:10:56 +00:00
scsi scsi(8) used to fall off the end of main(), returning an arbitrary 1995-07-30 12:58:47 +00:00
scsiformat BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
shutdown Yanked out (now obsolete) support for 'fastboot'. 1995-02-15 14:35:29 +00:00
slattach Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
startslip Remove IMAXBEL clearing, our cfmakeraw() already fixed for it 1995-08-04 02:33:13 +00:00
swapon Take out special error message for EINVAL...we really do want it to be 1995-05-14 02:18:18 +00:00
sysctl Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
sysinstall Bump to 2.0-950418-SNAP 1995-04-17 10:19:31 +00:00
tunefs When tuneing filesystems with tunefs, it is not obvious what the current 1995-06-25 17:46:13 +00:00
umount Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
DISCLAIMER Router discovery code - Courtesy Sun Microsystems 1994-09-30 20:47:35 +00:00
Makefile Add dumpon 1995-05-14 18:43:25 +00:00
Makefile.inc Don't build /sbin shared. 1994-05-28 03:56:49 +00:00