diff options
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 |