summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-04-07 06:09:12 +0000
committermharo <mharo@FreeBSD.org>2000-04-07 06:09:12 +0000
commit54baabc7acc056ea725c4cb8d0e7be7ce3b56164 (patch)
treebbcd4b7d5d3cfee3a5ef666ba7ca6ee89698481b /security
parent0e6b87dad6b9f68232281d60b4f95203b6c69c25 (diff)
downloadFreeBSD-ports-54baabc7acc056ea725c4cb8d0e7be7ce3b56164.zip
FreeBSD-ports-54baabc7acc056ea725c4cb8d0e7be7ce3b56164.tar.gz
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')
-rw-r--r--security/sudo/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 87bdbba6..aa75acb 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
OpenPOWER on IntegriCloud