HP-UX Reference (11i v1 05/09) - 4 File Formats (vol 8)
n
nlspath(4) nlspath(4)
NAME
nlspath - NLSPATH configuration file
DESCRIPTION
The file /etc/default/nlspath
allows the superuser to restrict the paths set by others through an
environment variable
NLSPATH used to locate message catalogs for
setuid or setgid root programs.
This file contains only one entry with the following format:
NLSPATH=pseudo-pathname:pseudo-pathname:...
Pseudo-pathnames must be separated by a colon. The paths which are available in both the configuration
file
/etc/default/nlspath
and environment variable
NLSPATH are used to locate message catalog
files.
If
/etc/default/nlspath
contains NLSPATH=*, the file is in compatibility mode. In this case, all
setuid and setgid root programs use the environment variable
NLSPATH directly to locate message
catalogs. This configuration file is supported only to provide backward compatibility for those
setuid or
setgid root programs which are depending on the environment variable
NLSPATH. New setuid or
setgid root programs should not depend on the environment variable NLSPATH and the configuration
file /etc/default/nlspath
. See catopen(3C) for details.
Superuser should not provide write permission to group and others for the configuration file and for the
paths mentioned in the configuration file. The comment line in the configuration file should start with first
"#" character. Do not add comment line after the variable
NLSPATH. The value assigned to variable
NLSPATH in the configuration file should follow the convention of assigning value to environment variable
NLSPATH.
FILES
/etc/default/nlspath
SEE ALSO
catopen(3C), environ(5).
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 4−−189