48d35b4b93
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. :) |
||
---|---|---|
.. | ||
byteorder.3 | ||
gethostbydns.c | ||
gethostbyht.c | ||
gethostbyname.3 | ||
gethostbynis.c | ||
gethostnamadr.c | ||
getnetbyaddr.c | ||
getnetbydns.c | ||
getnetbyht.c | ||
getnetbyname.c | ||
getnetbynis.c | ||
getnetent.3 | ||
getnetent.c | ||
getnetnamadr.c | ||
getproto.c | ||
getprotoent.3 | ||
getprotoent.c | ||
getprotoname.c | ||
getservbyname.c | ||
getservbyport.c | ||
getservent.3 | ||
getservent.c | ||
herror.c | ||
inet_addr.c | ||
inet_lnaof.c | ||
inet_makeaddr.c | ||
inet_netof.c | ||
inet_network.c | ||
inet_ntoa.c | ||
inet.3 | ||
iso_addr.3 | ||
iso_addr.c | ||
linkaddr.3 | ||
linkaddr.c | ||
Makefile.inc | ||
ns_addr.c | ||
ns_ntoa.c | ||
ns.3 | ||
rcmd.3 | ||
rcmd.c | ||
recv.c | ||
res_comp.c | ||
res_debug.c | ||
res_init.c | ||
res_mkquery.c | ||
res_query.c | ||
res_send.c | ||
resolver.3 | ||
send.c | ||
sethostent.c |