getgrouplist() ?

Graham Guttocks graham_guttocks at yahoo.co.nz
Fri Jun 14 20:17:50 EDT 2002


Greetings,

I need a way to get a back a list of supplemental group ids for a
specified uid.  Something like getgrouplist() in my C standard lib.  I
don't see a convenient method for this, have I missed it?

The os module contains getgroups(), but that doesn't allow me to
specify a uid; it uses only the uid of the current process.

Regards,
Graham


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com





More information about the Python-list mailing list