Re: Proper way to query user and group database on a Unix host?

2008-07-23 Thread Mike MacCana
On Wed, 2008-07-23 at 09:13 +0200, Fredrik Lundh wrote: > http://mail.python.org/mailman/listinfo/python-list Thanks - in the midst of trying to filter out search results for every damn python 'user group' 'yahoo group' 'interest group' etc, I seem to have missed this. Thanks to the other pos

Proper way to query user and group database on a Unix host?

2008-07-22 Thread Mike MacCana
sers = commands.getoutput('getent group '+groupname).split(':',-1)[3].split(',') Cheers, Mike ____ Mike MacCana Technical Specialist Australia Linux and Virtualisation Services IBM Global Services Level 14, 60 City Rd South