> Tim Holmes [EMAIL PROTECTED] wrote: > > > > Can someone point me in the right direction. Specifically, what I am > > looking for is a command that will allow me to generate a list of all > > the user groups on the system and their GID. This will allow me to > > chgrp the folders as necessary. > > getent groups > > ;-))) > > Generally, "getent" is meant to dump the contents of every NSS > database that supports enumeration. Of course what you'd enumerate > depends on your privileges too. You will find all databases unix > machine uses in /etc/nsswitch.conf. > > There are also utilities for working with individual databases. > For example "id" for "getent passwd", "groups" for "getent groups". > > Cheers, > > -- > Michal Kurowski [Tim Holmes]
Michal: here is the output [EMAIL PROTECTED] ~]# getent groups Unknown database: groups Try `getent --help' or `getent --usage' for more information. [EMAIL PROTECTED] ~]# Tim -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba