nlspath.4 (2010 09)
n
nlspath(4) nlspath(4)
(TO BE OBSOLETED)
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 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 in this file should be absolute pathnames and must be separated by a colon. The
paths which are available both in the configuration file
/etc/default/nlspath
and environment
variable
NLSPATH are considered to locate message catalog files. The
/etc/default/nlspath
file
should not be edited directly. Instead, the command
chnlspath should be used to modify the contents
of this file. See chnlspath (1M) for details.
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 configuration file
/etc/default/nlspath
.
EXAMPLES
An entry in this file would typically look like:
NLSPATH=/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/%l/%t/%c/%N.cat
WARNINGS
The configuration file must be root owned and there should not be write permission set for group and oth-
ers. Superuser should not provide write permission for group and others for the paths mentioned in the
configuration file.
/etc/default/nlspath
is provided only for compatibility with existing setuid or setgid root
applications that make use of relative pathnames while invoking catopen (3C). New
setuid or setgid
root applications must use absolute pathnames while invoking catopen (3C).
This file is to be obsoleted at a future date.
FILES
/etc/default/nlspath
SEE ALSO
catopen(3C), chnlspath(1M), environ(5).
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1