Previous Table of Contents Next


Verification of the Setup

The following sections describe some ways to verify that the system has been properly configured as an NIS+ client.

Verify That the Cache Manager Is Running

Check to see whether nis_cachemgr is running. Type ps -ef | grep nis_cachemgr and then press Return. In this example, the cache manager is running:

  seachild% ps -ef | grep nis_cachemgr
    root   1Ø5   1 51 16:52:17 ?     Ø:Ø1 /usr/sbin/nis_cachemgr
   winsor   251  24Ø 15 2Ø:11:Ø7 pts/1    Ø:ØØ grep nis_cachemgr
  seachild%

Check the Contents of the /var/nis Directory

When an NIS+ client is set up properly, the /var/nis directory has one or more files. Type ls /var/nis and then press Return. The contents of /var/nis should look like this example:

  seachild% ls /var/nis
  NIS_COLD_START
  NIS_SHARED_DIRCACHE
  seachild%

Verify That the NIS+ Commands Succeed

When an NIS+ client is set up properly, you can use the NIS+ commands. For example, type nisls org_dir and then press Return. When the command is successful, a list of the tables in the org_dir directory is displayed, as shown in this example:

  seachild% nisls org_dir
  org_dir.ESG.Eng.sun.COM.:
  auto_master
  auto_home
  bootparams
  cred
  ethers
  group
  hosts
  mail_aliases
  sendmailvars
  netmasks
  netgroup
  networks
  passwd
  protocols
  rpc
  services
  timezone
  seachild%


Previous Table of Contents Next