Bug 249 - Sudo in combination with multiline groups under Solaris
Sudo in combination with multiline groups under Solaris
Status: RESOLVED DUPLICATE of bug 218
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.8
Sun Solaris 2.x
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-04 14:51 MDT by carlos
Modified: 2007-06-13 16:10 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carlos 2007-06-04 14:51:16 MDT
There is a restriction under Solaris, a line in /etc/group shouldn't be longer than 512 characters. Consequently this limits the number of users in a group to a very small number. In order to lift this restriction, Solaris allows for multiple lines to be present in /etc/group for the same group.
f.i.
/etc/group

staff:1000:user1,user2,user3
staff:1000:user4,user5,user6

The problem is if you want to use this group in your sudoers file, f.i. grant all users in the group staff to shutdown the system. Only the users in the first line (user1,user2,user3) are allowed to execute the shutdown, all other lines are ignored.
Comment 1 Todd C. Miller 2007-06-13 16:10:42 MDT

*** This bug has been marked as a duplicate of bug 218 ***