From 804f2f79eee18b6494ba08a9909d3cc4cface7cd Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 25 Jun 2009 16:15:39 +0000 Subject: 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 --- usr.bin/ypwhich/ypwhich.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/ypwhich/ypwhich.c') diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c index 8bfca24..4e719df 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" }, -- cgit v1.1