diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-03-27 12:31:32 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-03-27 12:31:32 +0000 |
commit | d93fc1a1684488d7b21a605d1bc0be48c5396c06 (patch) | |
tree | 9742e657056b95cbd413a1db24a2148f181e06f8 /distrib | |
parent | ac75bc8f28649ab06beac0d936bac5f22de43add (diff) |
getgrouplist: If YP is #defined and enabled in /etc/group(5) and /etc/netid(5)
contains a matching entry, use that and refrain from accessing YP.
getpwnam/getpwuid: If YP is #defined and /etc/master.passwd(5) contains
a matching entry before the first YP entry, use that and stay away from YP.
Taken together, this allows a solution to the following problem pointed
out by deraadt@: When YP was configured but temporarily unavailable, even
root login would block, hindering you when trying to do repairs.
To avoid this, you can now provide a static entry for root in /etc/netid.
Using suggestions from miod@ otto@ blambert@ jmc@.
"commit" deraadt@, "cool" ajacoutot@, "looks fine" jmc@.
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions