diff options
author | Brian Somers <brian@FreeBSD.org> | 2009-06-25 16:15:39 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2009-06-25 16:15:39 +0000 |
commit | 53c405786b1cdc318bb35b9cf1e2fe6e4bcdee57 (patch) | |
tree | 9a6b7f4860169027c143248b8fa6f7a6afd15fc6 /usr.bin/ypwhich/ypwhich.c | |
parent | 2642e635f24ba4c28d64b7b602456275beeef79d (diff) | |
download | src-53c405786b1cdc318bb35b9cf1e2fe6e4bcdee57.tar.gz src-53c405786b1cdc318bb35b9cf1e2fe6e4bcdee57.zip |
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
Notes
Notes:
svn path=/head/; revision=194968
Diffstat (limited to 'usr.bin/ypwhich/ypwhich.c')
-rw-r--r-- | usr.bin/ypwhich/ypwhich.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c index 8bfca24ed132..4e719dffcd0e 100644 --- a/usr.bin/ypwhich/ypwhich.c +++ b/usr.bin/ypwhich/ypwhich.c @@ -64,6 +64,7 @@ struct ypalias { } ypaliases[] = { { "passwd", "passwd.byname" }, { "master.passwd", "master.passwd.byname" }, + { "shadow", "shadow.byname" }, { "group", "group.byname" }, { "networks", "networks.byaddr" }, { "hosts", "hosts.byaddr" }, |