user [email protected]
usertags 697490 image
retitle 697490 cloud.debian.org: use /etc/sudoers.d.
quit

> On Sun, 06 Jan 2013 15:49:17 +1100, Paul Wise <[email protected]> wrote:
> 
> >There is the /etc/sudoers.d directory in recent Debian versions:

Le Sun, Jan 06, 2013 at 03:52:46PM +1100, Chris Fordham a écrit :
> 
> Either way, basically root is needed, so I am wondering what
> Charles' use case is here..

The problem I would like to solve is dpkg interrupting upgrades when
/etc/sudoers is updated, because the file used in Debian's images is modified.
Using sudoers.d is indeed the good solution, that I overlooked when inspecting
the Ubuntu image.

root@ip-10-148-5-107:/etc# cat sudoers.d/90-cloudimg-ubuntu 
# ubuntu user is default user in cloud-images.
# It needs passwordless sudo functionality.
ubuntu ALL=(ALL) NOPASSWD:ALL

Cheers,

-- 
Charles


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to