On Tue, Sep 23, 2008 at 1:31 PM, Tim Alberts talberts@msiscales.com wrote:
So essentially, I am looking for a (simple) shell command to run from a bash script that will allow me to list user accounts that belong to a particular group. Any help is appreciated.
grep <group_name>: /etc/group | cut -d: -f4
will give a comma separated list, provided <group_name> is a valid group name.
HTH, -Bob