← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1980244] Re: feature request: group sudo

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3995

** Bug watch added: github.com/canonical/cloud-init/issues #3995
   https://github.com/canonical/cloud-init/issues/3995

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1980244

Title:
  feature request: group sudo

Status in cloud-init:
  Expired

Bug description:
  In sudoers you can specify to allow sudo for a group the same as a
  user by simply prepending the group name with a '%'.

  For Example:
  [root@server2 sudoers.d]# cat 90-cloud-init-users
  # Created by cloud-init v. 19.4 on Tue, 20 Apr 2021 01:07:17 +0000

  # User rules for cloud-user
  cloud-user ALL=(ALL) NOPASSWD:ALL

  # Group rules for mygroup
  %mygroup ALL=(ALL) NOPASSWD:ALL

  To my knowledge his can be handled in exactly the same manner that
  cloud-init already handles users' sudo.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1980244/+subscriptions



References