Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing Security
Open System Services Management and Operations Guide—527191-005
8-15
Assigning an Initial Working Directory
volume is the user’s default volume and subvolume is the user’s default subvolume
in the Guardian environment.
Initial working directories should not be in the Guardian file system (the /G directory),
because the OSS environment creates history files in initial working directories. History
files can grow indefinitely and cannot be truncated or deleted if the directory is in the
/G directory. These history files could take up so much disk space that they could
waste system resources. If the initial working directory is in the OSS file system, the
history files are created in the OSS file system, where they can be truncated and
deleted.
The best way to provide a user with an initial working directory is:
1. Create an initial working directory in the OSS environment.
2. Use SAFECOM to add the OSS pathname of the newly created initial working
directory to the user definition as the value for the initial working directory attribute.
Be careful when assigning an initial working directory. Proofread the assignment for
typographical errors and remember to create the initial working directory in the OSS file
system. Some server processes do not give users access to the system if their user
definition has an invalid initial working directory name or if the OSS file system is not
running but an initial working directory is defined.
Creating an Initial Working Directory in the OSS
Environment
To create an initial working directory in the OSS environment, use either the mkdir
command from within the OSS environment or the OSH command from within the
Guardian environment.
The following OSS shell command creates the OSS file-system directory
/home/henrysp from within the OSS environment:
mkdir /home/henrysp
The following TACL command creates the OSS file-system directory /home/henrysp
from within the Guardian environment:
OSH -p mkdir /home/henrysp
Assigning an Initial Working Directory Using Safeguard
You can assign an initial working directory to an existing user definition by using the
SAFECOM ALTER USER command to change the value of the INITIAL-DIRECTORY
attribute. You use a SAFECOM command such as:
ALTER USER group-number,member-number,
INITIAL-DIRECTORY /home/dir
Note. HP strongly recommends that you create a separate fileset for initial working directories.