diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-11-21 02:09:13 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-11-21 02:09:13 +0000 |
commit | cd65834dfcb43c334c7f17b6c2cdf2e7a8dfcba2 (patch) | |
tree | 23d47babcb897793c9f040d7e522b20c717f86f7 /security | |
parent | 452e62785450caf063cd7d66bf73cb913ad7a7f3 (diff) | |
download | freebsd-ports-cd65834dfcb43c334c7f17b6c2cdf2e7a8dfcba2.zip |
Fix permissions on the sudoers file when installed from package
PR: 30450
Submitted by: Dimitry Andric <dim@xs4all.nl>
Approved by: maintainer timeout
Diffstat (limited to 'security')
-rw-r--r-- | security/sudo/pkg-install | 1 |
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 |