NAME

Unix::Sysadmin::Host - Netgroup support class


SYNOPSIS

 use Unix::Sysadmin::Netgroup;
 $ng = Unix::Sysadmin::Netgroup->new();
 returns an empty Netroup:: object


DESCRIPTION

This class describes groups of hosts in a Unix network. This class is used by entity classes of the Unix::Sysadmin framework to deal with hosts in named groups.


PROPERTIES AND METHODS

Constructors

 new()
      Returns an empty Netgroup object
 load(FILEHANDLE)
    creates a new object and loads its data from the open file
    handle FILEHANDLE. Reads data until a line containing 'NETGROUP'
    by itself is encountered

Properties

  netgroupname()
      The object's name

  validsortorders()
    get the fields that Netgroup records may be sorted by.
    These are:
        byNetgroupname
  defaultsortorder()
    This returns 'byNetgroupname'

Methods

 inGroup("host name")
 Returns true or false accordind to whether the host whose name is "host name"
 is or is not in the netgroup.
 dump()
    Print the object to stdout.


SEE ALSO

Man(3) pages (programmer's docs):

the Unix::Sysadmin::Host manpage, the Unix::Sysadmin::User manpage, the Unix::Sysadmin::Automount manpage, the Unix::Sysadmin::Group manpage, the Unix::Sysadmin::Netgroup manpage, the Unix::Sysadmin::List manpage, the Unix::Sysadmin::Cmds manpage, the Unix::Sysadmin::Files manpage the Unix::Sysadmin::Utility manpage the Unix::Sysadmin::Config manpage, the Unix::Sysadmin::Scoped manpage

Man(4) pages (file formats):

the Unix::Sysadmin::Host.list manpage, the Unix::Sysadmin::User.list manpage, the Unix::Sysadmin::Automount.list manpage, the Unix::Sysadmin::Group.list manpage, the Unix::Sysadmin::Netgroup.list manpage

Man(1m) pages (manager's docs):

the Unix::Sysadmin manpage, the Unix::Sysadmin::Setup manpage the usasetup manpage

the usatest manpage

the usabackup manpage

the usaupdate manpage

the usapush manpage


AUTHOR

Howard Owen <hbo@egbok.com> =cut