Listusers command
Listusers command
- Subject: Listusers command
- From: Chuck Gagnon <email@hidden>
- Date: Tue, 8 Mar 2005 22:45:19 -0600
I'm not sure if this is the appropriate way to do this, but for ease
and compatibility with the various flavors of unix I administer at work
I wrote this code.
It is basically a work alike to the SYSV command of the same name (man
page included), with no arguments it lists all users in a sorted list
showing username and comment (gecos) field. the to options are [ -l
users ] to list specific users and or [ -g groups ] to list all users
in the given group(s). Users are defined as ID's with a uid greater
than 99.
We have a lot of scripts that made use of this command on Solaris and
HP-UX, and I couldn't find a similar command in the BSD world.
It is under a BSD style license.
Code is at:
http://homepage.mac.com/gagnocg/downloads/listusers.zip
Chuck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden