home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!cs.utexas.edu!shubu
- From: shubu@cs.utexas.edu (Shubhendu Sekhar Mukherjee)
- Newsgroups: comp.unix.questions
- Subject: Re: How to find out what groups I belong to
- Date: 30 Jul 92 20:58:47
- Organization: Oops Research Group, CS Dept, U. of Texas-Austin
- Lines: 33
- Message-ID: <SHUBU.92Jul30205847@oporto.cs.utexas.edu>
- References: <Bs7rI2.FoB@news.cso.uiuc.edu> <ratner.712534982@ficus.cs.ucla.edu>
- <1992Jul31.003031.14370@convex.com>
- NNTP-Posting-Host: oporto.cs.utexas.edu
- In-reply-to: Tom Christiansen's message of Fri, 31 Jul 1992 00:30:31 GMT
-
- >>>>> In article <1992Jul31.003031.14370@convex.com>, Tom Christiansen <tchrist@convex.COM> writes:
- TC> Originator: tchrist@convex.convex.com
- TC> Nntp-Posting-Host: convex.convex.com
-
- TC> From the keyboard of ratner@ficus.cs.ucla.edu (David Ratner):
- TC> :bjg28027@uxa.cso.uiuc.edu (Skydive!) writes:
- TC> :
- TC> :>Hello,
- TC> :
- TC> :>How can I find out what groups I belong to? Moreover, can I find out who
- TC> :>are the members of a certain group (or if a person belongs to a certain group)?
- TC> :
- TC> :>Thanks.
- TC> :
- TC> :>- Brian
- TC> :
- TC> :/usr/ucb/groups [login-name]
- TC> :
- TC> :Just typing "groups" with no arguments lists the groups you are in.
- TC> :Specifying a login-name lists the groups that person is in.
-
- TC> Yes, but we still haven't told him how to list out all the
- TC> members in a given group.
-
- /usr/bin/ypcat group | grep <groupname>
-
- Luck!
- -Shubu
- --
- ----------------------------------------------------------------------
- Shubhendu Sekhar Mukherjee University of Texas @ Austin, C.Sc.
- Net:shubu@cs.{utexas,wisc}.edu [W]:(512) 471-9856 [H]:(512) 450-1756
- ----------------------------------------------------------------------
-