Re: grp.struct_group bug ?



attn.steven.kuo@xxxxxxxxx wrote:
the group id (gr_gid), a list of group members (gr_grmem),
the group name (gr_name), and the group password (gr_passwd).

If you want to see if user 'john' is in the list of group members,
use:

if 'john' in agroup.gr_mem:
print "Found john in group wheel"

Thanks !

Yves.
----
Yves Dorfsman yves@xxxxxxxxx
.