Bug 59

Summary: Problem on sudo gid
Product: Sudo Reporter: shanthi_thana
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: high    
Version: 1.6.0   
Hardware: IBM   
OS: AIX   

Description shanthi_thana 2002-01-10 01:45:53 MST
sudo to root does not pick up the gid. Therefore, certain software does not
shutdown cleanly. Output of the sudo is as below :-
uid=0(root) gid=0(system) groups=1(staff),204(operator)

Actual root uid & gid is as below :-
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit),101
(dba),80(fnusr),82(fnadmin),83(fnop)
Comment 1 Todd C. Miller 2002-01-10 10:10:59 MST
This was intentional.  When running things as root sudo preserves the group vector of the
invoking user.  This behavior has changed in sudo 1.6.4 which is due to be released next Monday.