[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697490: cloud: 697490: use sudoers.d

On Sun, 06 Jan 2013 19:53:09 +1100, Charles Plessy <plessy@debian.org> wrote:

Le Sun, Jan 06, 2013 at 06:24:31PM +1100, Chris Fordham a écrit :
Not sure what you mean by 'interrupting'

I mean the following:

Setting up sudo (1.8.5p2-1) ...
Installing new version of config file /etc/init.d/sudo ...

	Configuration file `/etc/sudoers'
	 ==> File on system created by you or by a script.
	 ==> File also in package provided by package maintainer.
	   What would you like to do about it ?  Your options are:
	    Y or I  : install the package maintainer's version
	    N or O  : keep your currently-installed version
	      D     : show the differences between the versions
	      Z     : start a shell to examine the situation
	 The default action is to keep your current version.
	*** sudoers (Y/I/N/O/D/Z) [default=N] ?

This message will be prevented by having "admin  ALL=(ALL) NOPASSWD: ALL"
in a file in /etc/sudoers.d instead of adding this line to /etc/sudoers.

The only other interruption is the following debconf question from libc6:

	Restart services during package upgrades without asking?

I wonder if it would make sense to preseed it ?

Did you test that with setting DEBIAN_FRONTEND=noninteractive first ?


Chris Fordham

Backline Support Engineer
RightScale Technical Services

Direct: +1 805 243 0252

Cell: +61 423 003 417

Skype: chris.fordham.rs

Email: chris.fordham@rightscale.com

Reply to: