← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1980244] [NEW] feature request: group sudo

 

Public bug reported:

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

# User 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.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
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:
  New

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

  # User 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



Follow ups