Listing users of a group

From: Sudhakar K (Unix) (ksudha@anz.com)
Date: Thu Mar 06 2003 - 07:17:44 EST


> Hi Admins
>
> I am working on a script to list all user processes of a group.This can be
achieved by first getting list of users of the group and doing ps -u <userid>
>
> Now my question is, how do i get list of all users of a group.
>
> In HP, we can cat /etc/group which lists the members but in Solaris
/etc/group, it does not contain members ( only group name and id ) . Is there
any way ?
>
> Pl help ..
>
> thanks
> Sudhakar
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:56 EDT