Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Determine What Netgroups A User Belongs To

Status
Not open for further replies.

RobSandifer

Technical User
Dec 7, 2009
1
US
Greetings,

In an NIS environment, what command given at the CLI
will allow me to view/determine any/all netgroups that a
user belongs to?

I am running HP-UX ver. 11.11 in a large NIS environment.

Note: I heard that the following command would provide
the names of any/all netgroup that user "smith" belongs to.
Unfortunately, it did not work. All helpful comments are
welcomed and appreciated.

# ypmatch 'smith.*' netgroup.byuser
ypmatch: can't match smith.*.
Reason: no such key in map



Thanks ahead of time!

Rob Sandifer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top