summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/sudo
blob: c5ec12944c51d5625fec37e36a131258ef2a16ec (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

echo "setting up /etc/sudoers ..."
cp -f $basedir/sudoers /etc/sudoers
chown root:root /etc/sudoers
chmod 440 /etc/sudoers
echo "done"