Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LISTGROUP(1)	      User Contributed Perl Documentation	  LISTGROUP(1)

NAME
       listgroup - Lists hosts/users in	a netgroup group.

SYNOPSIS
	   listgroup

	   listgroup [--host] groupname1 [ [-]groupname2 [-]groupname3 ... ]

	   listgroup [--user] groupname1 [ [-]groupname2 [-]groupname3 ... ]

DESCRIPTION
       Lists groups or members of a netgroup NIS map.  listgroup without any
       parameters lists	all the	available netgroup groups.

       With groupname parameters, listgroup will recusively list the members
       of the named groups.  Each member in a group is a triplet of
       (host,user,domain).  The	host portion or	user portion of	the members is
       returned	depending upon whether --host or --user	is used.  If neither
       --host or --user	is used, listgroup will	return the host	portion.

       If a {groupname}	is preceded with a -, members of that group will be
       excluded	from the output.

       Groups are processed in the order they appear on	the command line.

OPTIONS
       --host
	   Restrict output to only contain the host portion of the members in
	   the groupname.

       --user
	   Restrict output to only contain the user portion of the members in
	   the groupname.

REQUIRES
       Perl Modules:

	   Net::NIS::Listgroup
	   Net::NIS

SEE ALSO
       netgroup(4), Net::NIS::Listgroup(3), Net::NIS(3)

AUTHOR
       Original	unknown

       Major rewrite by	Marc Prewitt <mprewitt@chelsea.net>

       Copyright (C) 2003 Chelsea Networks, under the GNU GPL.	listgroup
       comes with ABSOLUTELY NO	WARRANTY. This is free software, and you are
       welcome to redistribute it under	certain	conditions; see	the COPYING
       file for	details.

       listgroup is free software; you can redistribute	it and/or modify it
       under the terms of the GNU General Public License as published by the
       Free Software Foundation; either	version	2 of the License, or (at your
       option) any later version.

       listgroup is distributed	in the hope that it will be useful, but
       WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A	PARTICULAR PURPOSE. See	the GNU
       General Public License for more details.

       You should have received	a copy of the GNU General Public License along
       with this program; if not, write	to the Free Software Foundation, Inc.,
       59 Temple Place,	Suite 330, Boston, MA 02111-1307 USA

perl v5.32.0			  2003-01-21			  LISTGROUP(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | REQUIRES | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=listgroup&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help