From cbb590de1de9c3efc03130547236b8e37a3ba1dc Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 5 May 2008 16:09:10 -0700 Subject: fix for bug 3225: only insert sudoers if not present. --- debian/vyatta-cfg-system.postinst.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 30cbfd5a..17d1264d 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -30,7 +30,9 @@ if [ "$sysconfdir" != "/etc" ]; then fi # Allow operator to do a limited number of commands without password - cat <<"EOF" >>/etc/sudoers + if ! grep -q '^%operator ALL=NOPASSWD:' /etc/sudoers; then + cat <<"EOF" >>/etc/sudoers +### BEGIN VYATTA OPERATOR COMMANDS Cmnd_Alias IPTABLES = /sbin/iptables --list -n,\ /sbin/iptables -L -vn,\ /sbin/iptables -L * -vn,\ @@ -46,7 +48,9 @@ Cmnd_Alias DATE = /bin/date, /usr/sbin/ntpdate Cmnd_Alias PPPOE_CMDS = /sbin/pppd, /sbin/poff %operator ALL=NOPASSWD: /sbin/reboot, DATE, IPTABLES, ETHTOOLP, IPFLUSH, \ PPPOE_CMDS +### END VYATTA OPERATOR COMMANDS EOF + fi # for "users" level (FIXME) if ! grep -q "^%users ALL=NOPASSWD: ${bindir}/sudo-users/" /etc/sudoers; then -- cgit v1.2.3 From 2ee12b4b36e5026d1ba48ed38a71fe06a606809b Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Mon, 5 May 2008 16:40:35 -0700 Subject: 3.0.4 --- debian/changelog | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 1e41734f..e2b290b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,24 @@ +vyatta-cfg-system (0.8) unstable; urgency=low + + 3.0.4 + [ Mark O'Brien ] + + + [ An-Cheng Huang ] + * fix for bug 3225: only insert sudoers if not present. + + [ Stig Thormodsrud ] + * Mimic the transaction mechanism to only restart the vrrp daemon + once/commit. + + [ rbalocca ] + * config.boot.default is not moved to the top level repo (build- + iso.git) + + [ Mark O'Brien ] + + -- Mark O'Brien Mon, 05 May 2008 16:40:35 -0700 + vyatta-cfg-system (0.7) unstable; urgency=low 3.0.3 -- cgit v1.2.3 From a3aa2f7e17e1cccfc9334a61547e48e156d5453b Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Tue, 6 May 2008 12:43:16 -0700 Subject: 3.0.5 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index e2b290b6..bd9e876e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vyatta-cfg-system (0.9) unstable; urgency=low + + 3.0.5 + + + -- Mark O'Brien Tue, 06 May 2008 12:43:15 -0700 + vyatta-cfg-system (0.8) unstable; urgency=low 3.0.4 -- cgit v1.2.3