void-packages/srcpkgs/sudo/INSTALL

13 lines
236 B
Plaintext
Raw Normal View History

#
# This script sets up correct perms for /etc/sudoers.
#
case "${ACTION}" in
post)
if [ -f etc/sudoers ]; then
echo "Setting up permissions to /etc/sudoers..."
chmod 0440 etc/sudoers
fi
chmod 4111 bin/sudo bin/sudoedit
;;
esac