A.1 Using NSS Commands

A.1.1 Issuing NSS Commands at Command Consoles

Enter NSS commands at the NSS Console (NSSCON, nsscon(8)) on an OES server. For information about NSSCON, see Section B.4, nsscon.

A.1.2 Making NSS Commands Persist Through a Reboot

NSS commands issued at the command line do not persist through a server reboot. To make non-persistent command settings persist automatically through a server reboot, place the commands in the nssstart.cfg file, which NSS reads on startup. The file is in the /etc/opt/novell/nss directory. Some commands cannot be used in the nssstart.cfg file. Refer to the individual commands for information.

  1. In a text editor, create a file called nssstart.cfg in the /etc/opt/novell/nss/ directory.

  2. Enter any NSS commands that you want to persist through server reboots.

    Each NSS command should be preceded by a forward slash (/) and followed with a space.

    For example, the ListXattrNWmetadata option enables the ability to return the netware.metadata extended attribute for a file or directory at listxattr(2) time. The ZLSSUpgradeNewVolumeMediaFormat option creates all new NSS volumes with the upgraded media structure that supports hard links. This applies to volumes on both local and shared pools.

    /numworktodos=40 /ListXattrNWmetadata /ZLSSUpgradeNewVolumeMediaFormat
  3. Save and close your nssstart.cfg file.

A.1.3 Permissions

You must be logged in as the root user, or as a Linux user with equivalent privileges.

A.1.4 Descriptions

The descriptions of commands provide information about the default values, range of valid values, and persistence of the command.

Default Value

The default value is the setting used for a given server configuration parameter. Initially, the value reported is the default setting for the parameter. If you modify the value, it reports the actual value.

IMPORTANT:Default values are the best choice for a majority of server configurations, but you can modify the settings to meet your needs.

Range of Valid Values

The range of valid values establishes the constraints for any particular variable setting.

Persistence

If a command’s setting is persistent, the value or policy you set remains in effect for the server through any subsequent server reboots until you next modify the settings. If a command is not persistent, the setting remains in effect only until the next server reboot. Some commands can be issued in the nssstart.cfg file in order to make the settings persist across reboots.

The file is /etc/opt/novell/nss/nssstart.cfg. For information, see Section A.1.2, Making NSS Commands Persist Through a Reboot.