3.3 NSS Commands and Utilities

Command line instructions are available to control most NSS functions, using the following consoles:

3.3.1 NSS Commands

To view a list of NSS commands and options, enter the following command at the NetWare server console command prompt or the NSSCON prompt:

nss /help

For information about commands, see Section 23.0, Using NSS Commands and Utilities.

3.3.2 NSS Utilities

In addition to NSSMU and NSSCON, NSS provides several utilities to support command line management of NSS pools and volumes.

For information about NSS utilities for Linux, see the following:

For information about all utilities, see Section A.0, NSS Utilities.

3.3.3 NSS Console for OES Linux

The NSS Console (NSSCON) utility for OES Linux provides a command line interface in a console environment familiar to NetWare users. Use it to issue NSS commands and to monitor NSS activity through console messages.

The Linux install creates symlinks in the /opt/novell/nss/sbin folder for common NSS utilities, including NSSCON. Symlinks allow the path to the NSSCON to become part of the root user’s path, which allows you to run NSSCON by entering nsscon at the system prompt.

The NSSCON utility uses a device file ( /dev/nsscmd), which is set up to allow access only for the root user. Thus, only root can run nsscon. If you want to give access to a group of local users to run nsscon, use the chmod command on /dev/nsscmd to change the POSIX permissions for that group.

You can optionally add /opt/novell/nss/sbin to the PATH environment variable:

  1. At a shell prompt, log in as the root user.

  2. From a Bash shell, set the path with the command

    export PATH=$PATH:/opt/novell/nss/sbin
    

    This allows you to run nsscon by entering ./nsscon at the system prompt.

To run NSSCON:

  1. At a shell prompt, log in as the root user.

  2. Use one of the following methods to start NSSCON:

    • At a shell prompt, load NSSCON when its path is symlinked by entering

      nsscon
      
    • At a shell prompt, load NSSCON by its absolute pathname by entering

      /opt/novell/nss/sbin/nsscon
      
    • At a shell prompt, load NSSCON when its path is in the PATH environment variable by entering

      ./nsscon
      

3.3.4 NetWare Server Console

All NSS commands and utilities can be issued from the NetWare server console. Use the server console to monitor NSS activity through console messages.