diff options
author | An-Cheng Huang <ancheng@sydney.vyatta.com> | 2007-10-23 10:17:57 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@sydney.vyatta.com> | 2007-10-23 10:17:57 -0700 |
commit | c07bfa52d381abfa0177dc5940e142bc4252b7b8 (patch) | |
tree | 990452e72abe6199ae9766f0815ab797c83593f9 /debian/vyatta-cfg-system.postinst.in | |
parent | cb287eb4589e46b72001d8e84de1eb5bae26d543 (diff) | |
download | vyatta-cfg-system-c07bfa52d381abfa0177dc5940e142bc4252b7b8.tar.gz vyatta-cfg-system-c07bfa52d381abfa0177dc5940e142bc4252b7b8.zip |
* add non-root users to 'quaggavty' group.
* set up sudo for 'quaggavty' group.
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index a84d41bd..7c561358 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -32,6 +32,10 @@ if [ "$sysconfdir" != "/etc" ]; then done cp $sysconfdir/logrotate_messages /etc/logrotate.d/messages cp $sysconfdir/default_ssh /etc/default/ssh + + # sudoers + cp -p /etc/sudoers /etc/sudoers.vyatta-save + echo -e "\n%quaggavty ALL=NOPASSWD: ALL" >> /etc/sudoers fi # update crontab for logrotate |