Aqua Phoenix

Figure 8: Netgroups
Click to enlarge

The Netgroup interface defines netgroups (/etc/netgroup) for hosts and users. The screen is divided into 3 sections:

  • List of Netgroups, to (from) which netgroups can be added (removed) [see left upper portion of the screen]
  • List of hosts, to (from) which hosts can be added (removed), as well as selected to define host netgroups [see left lower portion of the screen]
  • A list of usernames, groups, and netgroups, which serve as selections to define the members of user netgroups [see right portion of the screen]

The two "netgroup" selection boxes contain the same items. One of them [left upper] is used to define a netgroup, while the other [right lower] is used to include other netgroups in a netgroup.

The functionality of netgroups has been extended somewhat to include user groups. This is not an actual property of UNIX netgroups, but has rather been made a function of YPMan. The account manager may select user groups to be part of a netgroup, which is translated into usernames upon saving the netgroup database (see Write and YP Restart). Information about what groups have been linked to what netgroup is stored in one of several YPMan configuration files.

Every netgroup needs to be identified as either a user or host netgroup. Any given netgroup can only include one these two types. This information is also stored in the configuration file referred to above.

The line of 3 buttons in the left lower portion of the screen include "Clear", "Save Entry", and "Delete". These three functions are used to manipulate netgroups. The interface uses the field "Netgroups" as a unique identifier for items in the list. A netgroup is added to the list by merely saving it ("Save Entry") under a new, unique name. Netroup data is edited in a similar fashion.

The line of 2 buttons right below the "Select/Define Hosts" selection box is used to add and delete members to the list of hosts.