home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9617 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!cs.utexas.edu!shubu
  2. From: shubu@cs.utexas.edu (Shubhendu Sekhar Mukherjee)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: How to find out what groups I belong to
  5. Date: 30 Jul 92 20:58:47
  6. Organization: Oops Research Group, CS Dept, U. of Texas-Austin
  7. Lines: 33
  8. Message-ID: <SHUBU.92Jul30205847@oporto.cs.utexas.edu>
  9. References: <Bs7rI2.FoB@news.cso.uiuc.edu> <ratner.712534982@ficus.cs.ucla.edu>
  10.     <1992Jul31.003031.14370@convex.com>
  11. NNTP-Posting-Host: oporto.cs.utexas.edu
  12. In-reply-to: Tom Christiansen's message of Fri, 31 Jul 1992 00:30:31 GMT
  13.  
  14. >>>>> In article <1992Jul31.003031.14370@convex.com>, Tom Christiansen <tchrist@convex.COM> writes:
  15. TC> Originator: tchrist@convex.convex.com
  16. TC> Nntp-Posting-Host: convex.convex.com
  17.  
  18. TC> From the keyboard of ratner@ficus.cs.ucla.edu (David Ratner):
  19. TC> :bjg28027@uxa.cso.uiuc.edu (Skydive!) writes:
  20. TC> :
  21. TC> :>Hello,
  22. TC> :
  23. TC> :>How can I find out what groups I belong to?  Moreover, can I find out who
  24. TC> :>are the members of a certain group (or if a person belongs to a certain group)?
  25. TC> :
  26. TC> :>Thanks.
  27. TC> :
  28. TC> :>- Brian
  29. TC> :
  30. TC> :/usr/ucb/groups [login-name]
  31. TC> :
  32. TC> :Just typing "groups" with no arguments lists the groups you are in.
  33. TC> :Specifying a login-name lists the groups that person is in.
  34.  
  35. TC> Yes, but we still haven't told him how to list out all the 
  36. TC> members in a given group.
  37.  
  38. /usr/bin/ypcat group | grep <groupname>
  39.  
  40. Luck!
  41. -Shubu
  42. --
  43. ----------------------------------------------------------------------
  44. Shubhendu Sekhar Mukherjee       University of Texas @ Austin, C.Sc.
  45. Net:shubu@cs.{utexas,wisc}.edu   [W]:(512) 471-9856 [H]:(512) 450-1756
  46. ----------------------------------------------------------------------   
  47.