aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudo
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-04-07 14:09:12 +0800
committermharo <mharo@FreeBSD.org>2000-04-07 14:09:12 +0800
commit54baabc7acc056ea725c4cb8d0e7be7ce3b56164 (patch)
treebbcd4b7d5d3cfee3a5ef666ba7ca6ee89698481b /security/sudo
parent0e6b87dad6b9f68232281d60b4f95203b6c69c25 (diff)
downloadfreebsd-ports-gnome-54baabc7acc056ea725c4cb8d0e7be7ce3b56164.tar.gz
freebsd-ports-gnome-54baabc7acc056ea725c4cb8d0e7be7ce3b56164.tar.zst
freebsd-ports-gnome-54baabc7acc056ea725c4cb8d0e7be7ce3b56164.zip
install sample file with everything commented out so that random
system users don't accidently get configured to do stuff as root. Submitted by: Adam Steffes
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 87bdbba64a20..aa75acb7f85a 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -29,6 +29,7 @@ MAN8= sudo.8 visudo.8
post-patch:
perl -i -pe 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/*.man
+ perl -i -pe 's,^,#,g' ${WRKSRC}/sample.sudoers
post-install:
${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample