Re: grp.struct_group bug ?
- From: spam <x@xxxxx>
- Date: Wed, 31 Jan 2007 13:49:22 GMT
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
.
- References:
- grp.struct_group bug ?
- From: spam
- Re: grp.struct_group bug ?
- From: attn . steven . kuo
- grp.struct_group bug ?
- Prev by Date: Re: Regex with ASCII and non-ASCII chars
- Next by Date: Re: another newbie question: why should you use "*args" ?
- Previous by thread: Re: grp.struct_group bug ?
- Next by thread: Learn How To Write A Resume / CV On Our Free Informational Site
- Index(es):