Bug 249

Summary: Sudo in combination with multiline groups under Solaris
Product: Sudo Reporter: carlos <carlos.dacunhaesilva>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: low    
Version: 1.6.8   
Hardware: Sun   
OS: Solaris 2.x   

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 ***