freebsd-nq/lib/libc
Bill Paul 8538335f21 At last! Modified __ivaliduser() to do the same kind of user/host validation
that everyone else does: you can now use +host/-host, +user,-user and
+@netgroup/-@netgroup in /etc/hosts.equiv, /.rhosts, /etc/hosts.lpd and
~/.rhosts. Previously, __ivaliduser would only do host/user matches,
which was lame. This affects all the r-commands, lpd, and any other
program/service that uses ruserok().

An example of the usefullness of this feature would be a hosts.equiv
file that looks like this:

+@equiv-hosts

Since the netgroup database can now be accessed via NIS, this lets you
set up client machines once and then never have to worry about them
again: all hosts.equiv changes can now be done through NIS. Once I
finish with getpwent.c, we'll be able to do similar wacky things
with login authentication too. (Our password field substitution
will finally be on par with everyone else's, and I'll finally be
able to fully integrate my FreeBSD machine into my network without
having to worry about the grad students sneaking into it when I'm
not looking. :)

Danger Will Robinson! I tested this thing every which way I could, but
Murphy's Law applies! If anybody spots a potential security problem with
the way my matching algorithm works, tell me immediately! I don't want
crackers snickering and calling me names behind my back. :)
1995-03-20 07:29:55 +00:00
..
amd64 First round of changes to clean up the RCSID mess in libc: 1995-01-23 01:30:24 +00:00
compat-43 gethostid.2 is now gethostid.3. Instal the correct one. 1994-08-28 17:08:36 +00:00
db Added the mpool.3 manpage to the installed manpages. It is referred from the 1994-12-11 22:03:05 +00:00
gen Whoops: expanding netgroups that reference multiple netgroups doesn't 1995-03-19 22:19:52 +00:00
gmon Added support for kernel profiling to mcount.c 1994-09-15 16:00:41 +00:00
i386 First round of changes to clean up the RCSID mess in libc: 1995-01-23 01:30:24 +00:00
locale Minor optimization 1995-02-18 01:42:02 +00:00
net At last! Modified __ivaliduser() to do the same kind of user/host validation 1995-03-20 07:29:55 +00:00
quad BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
regex First crack at making libc work with the new make macros. It compiles on 1994-08-05 01:19:12 +00:00
rpc Fix authunix_maxgrouplist test 1995-03-18 17:55:03 +00:00
stdio Remove `|| flags & ALT == 0' which was an obscure no-op, not a 1995-03-12 13:53:51 +00:00
stdlib Don't attempt to lstat() the POSIXLY invalid empty pathname. 1995-02-25 16:06:07 +00:00
stdtime On snap 950210, format %s (print seconds from the epoch) is missing 1995-03-01 23:08:40 +00:00
string Don't build swab.o here. It gets built in libc/i386/string. Previously 1995-03-07 04:19:11 +00:00
sys Correct the parameters for the fchown. The third was erroneously 1995-02-17 00:41:30 +00:00
xdr More directory cleanup after YP merge. 1994-08-07 22:21:14 +00:00
yp Add back in the YP code from 1.1.5. (This attribution brought to you 1994-08-07 23:04:55 +00:00
Makefile Changed LIB_SCCS and SYSLIB_SCCS #defines to LIB_RCS and SYSLIB_RCS. 1995-01-23 01:22:08 +00:00