Open System Services Management and Operations Guide (G06.25+, H06.03+)
Managing Security
Open System Services Management and Operations Guide—527191-002
8-14
Assigning an Initial Working Directory
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
or 
ALTER USER group-name.member-name,
 INITIAL-DIRECTORY /home/dir
group-number,member-number
is the structured view of the user ID of an existing user definition.
group-name.member-name
is the user name of an existing user definition.
/home/dir
is the initial working directory, expressed as an OSS pathname.
Note. HP strongly recommends that you create a separate fileset for initial working directories.










