feature request: group sudo

Bug #1980244 reported by Preston Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Wishlist
Unassigned

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.

description: updated
Revision history for this message
James Falcon (falcojr) wrote :

This is a valid use case, and a feature we could add.

Changed in cloud-init:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.