aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-21 02:09:13 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-21 02:09:13 +0000
commitcd65834dfcb43c334c7f17b6c2cdf2e7a8dfcba2 (patch)
tree23d47babcb897793c9f040d7e522b20c717f86f7 /security/sudo
parent452e62785450caf063cd7d66bf73cb913ad7a7f3 (diff)
downloadports-cd65834dfcb43c334c7f17b6c2cdf2e7a8dfcba2.tar.gz
ports-cd65834dfcb43c334c7f17b6c2cdf2e7a8dfcba2.zip
Notes
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/pkg-install1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/sudo/pkg-install b/security/sudo/pkg-install
index b633da87b270..bd38791d206e 100644
--- a/security/sudo/pkg-install
+++ b/security/sudo/pkg-install
@@ -6,4 +6,5 @@ if [ -e ${PKG_PREFIX}/etc/sudoers ]; then
echo "Will not overwrite existing ${PKG_PREFIX}/etc/sudoers file."
else
cp -p ${PKG_PREFIX}/etc/sudoers.sample ${PKG_PREFIX}/etc/sudoers
+ chmod 440 ${PKG_PREFIX}/etc/sudoers
fi