JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Naming and Directory Services (NIS+)
search filter icon
search icon

Document Information

Preface

Part I About Naming and Directory Services

1.  Name Service Switch

Part II NIS+ Setup and Configuration

2.  NIS+: An Introduction

3.  NIS+ Setup Scripts

4.  Configuring NIS+ With Scripts

5.  Setting Up the NIS+ Root Domain

6.  Configuring NIS+ Clients

7.  Configuring NIS+ Servers

8.  Configuring an NIS+ Non-Root Domain

9.  Setting Up NIS+ Tables

Part III NIS+ Administration

10.  NIS+ Tables and Information

11.  NIS+ Security Overview

12.  Administering NIS+ Credentials

13.  Administering NIS+ Keys

14.  Administering Enhanced NIS+ Security Credentials

15.  Administering NIS+ Access Rights

16.  Administering NIS+ Passwords

17.  Administering NIS+ Groups

18.  Administering NIS+ Directories

19.  Administering NIS+ Tables

20.  NIS+ Server Use Customization

21.  NIS+ Backup and Restore

22.  Removing NIS+

23.  Information in NIS+ Tables

NIS+ Tables

NIS+ Tables and Other Name Services

NIS+ Table Input File Format

auto_home NIS+ Table

auto_master NIS+ Table

bootparams NIS+ Table

client_info NIS+ Table

cred NIS+ Table

ethers NIS+ Table

group NIS+ Table

hosts NIS+ Table

mail_aliases NIS+ Table

netgroup NIS+ Table

netmasks NIS+ Table

networks NIS+ Table

passwd NIS+ Table

protocols NIS+ Table

rpc NIS+ Table

services NIS+ Table

timezone NIS+ Table

Additional Default Tables

24.  NIS+ Troubleshooting

A.  NIS+ Error Messages

About NIS+ Error Messages

Common NIS+ Namespace Error Messages

B.  Updates to NIS+ During the Solaris 10 Release

Solaris 10 and NIS+

Glossary

Index

netgroup NIS+ Table

The netgroup table defines network wide groups used to check permissions for remote mounts, logins, and shells. The members of net groups used for remote mounts are machines; for remote logins and shells, they are users.


Note - Users working on a client machine being served by an NIS+ server running in compatibility mode cannot run ypcat on the netgroup table. Doing so will give you results as if the table were empty even if it has entries.


The netgroup table has six columns.

Table 23-9 netgroup Table

Column
Content
Description
Name
groupname
The name of the network group
Group
groupname
Another group that is part of this group
Host
hostname
The name of a host
User
username
A user's login name
Domain
domainname
A domain name
Comment
Comment
An optional comment about the entry

Input File Format

The input file consists of a group name and any number of members:

groupname member-list...

The member list can contain the names of other net groups or an ordered member list with three fields or both:

member-list::=groupname | (hostname, username, domainname)

The first field of the member list specifies the name of a machine that belongs to the group. The second field specifies the name of a user that belongs to the group. The third field specifies the domain in which the member specification is valid.

A missing field indicates a wildcard. For example, the netgroup specification shown below includes all machines and users in all domains:

everybody ( , , )

A dash in a field is the opposite of a wildcard; it indicates that no machines or users belong to the group. Here are two examples:

(host1, -,doc.com.) (-,joe,doc.com.)

The first specification includes one machine, host1, in the doc.com. domain, but excludes all users. The second specification includes one user in the doc.com. domain, but excludes all machines.