[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: group members



On Thu, 20 Sep 2007 22:33:29 -0500, Mikkel L. Ellertson wrote:

> Mike -- EMAIL IGNORED wrote:
>>>From a konsole, how can I determine
>> all the members of a group?
>> Thanks,
>> Mike.
>> 
> One way is to rung something like "grep <group name> /etc/group". But
> you can run into problems if the group name is also a user name, or is
> part of a larger group name.
> 
> Mikkel
[...]

How about:
   grep ^<groupName>: /etc/group
?
Mike.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]