Re: Getting a list of user group memberships
From: Mike Kent (mkent_at_acm.org)
Date: 08/14/03
- Next message: gombvtw_at_moqphq.com.jb: "Re: GNU software compromised : Cert Advisory"
- Previous message: James Riden: "Re: GNU software compromised : Cert Advisory"
- In reply to: Michal Wojciechowski: "Re: Getting a list of user group memberships"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 14 Aug 2003 00:24:34 -0400
On Thu, 14 Aug 2003 01:32:04 +0200, Michal Wojciechowski wrote:
> xinli1@illinoisalumni.org (Xin Li) writes:
>
>> a similar procedure for linux. I was wondering if there are faster
>> ways of getting the group membership other than reading the entire
>> /etc/group file myself. Thanks in advance for any help rendered.
>>
>
> You might want to check out initgroups() and getgroups().
Both found by
apropos groups
at the Linux command line BTW.
- Next message: gombvtw_at_moqphq.com.jb: "Re: GNU software compromised : Cert Advisory"
- Previous message: James Riden: "Re: GNU software compromised : Cert Advisory"
- In reply to: Michal Wojciechowski: "Re: Getting a list of user group memberships"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|