feature request: group sudo
Bug #1980244 reported by
Preston Taylor
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 |
To post a comment you must log in.
This is a valid use case, and a feature we could add.