diff options
author | brian <brian@FreeBSD.org> | 2009-06-25 16:15:39 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2009-06-25 16:15:39 +0000 |
commit | 804f2f79eee18b6494ba08a9909d3cc4cface7cd (patch) | |
tree | 9a6b7f4860169027c143248b8fa6f7a6afd15fc6 /usr.bin/ypmatch | |
parent | e96ab5a0ecb1b0ab6ce67c702d929064312609b1 (diff) | |
download | FreeBSD-src-804f2f79eee18b6494ba08a9909d3cc4cface7cd.zip FreeBSD-src-804f2f79eee18b6494ba08a9909d3cc4cface7cd.tar.gz |
Support shadow.byname and shadow.byuid maps, protecting them by
insisting on privileged port access.
Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.
Approved by: re (kib)
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/ypmatch')
-rw-r--r-- | usr.bin/ypmatch/ypmatch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c index d0904c5..a9c32ea 100644 --- a/usr.bin/ypmatch/ypmatch.c +++ b/usr.bin/ypmatch/ypmatch.c @@ -52,6 +52,7 @@ struct ypalias { } ypaliases[] = { { "passwd", "passwd.byname" }, { "master.passwd", "master.passwd.byname" }, + { "shadow", "shadow.byname" }, { "group", "group.byname" }, { "networks", "networks.byaddr" }, { "hosts", "hosts.byname" }, |