Open System Services Management and Operations Guide (G06.29+, H06.07+)

Managing Security
Open System Services Management and Operations Guide527191-005
8-16
Assigning an Initial Working Directory
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.
For example, the following SAFECOM command assigns the initial working directory
/home/henrysp to the user definition with the user name SCRIBES.HENRYSP:
ALTER USER scribes.henrysp, INITIAL-DIRECTORY /home/henrysp
You can assign an initial working directory to an alias instead of to the user definition
itself by using the SAFECOM ALTER ALIAS command. You use a SAFECOM
command such as the following:
ALTER ALIAS alias-name, INITIAL-DIRECTORY /home/dir
alias-name
is an existing alias for an existing user definition.
/home/dir
is the initial working directory, expressed as an OSS pathname.
For example, the following SAFECOM command assigns the initial working directory
/user/donl to the alias donl of the user definition with the user name
SCRIBES.DONALD:
ALTER ALIAS donl, INITIAL-DIRECTORY /user/donl
The assignment process can be partially automated by creating a TACL macro file and
then editing that file appropriately for each new user. Figure 8-2 on page 8-17 contains
a Guardian TACL macro that adds a user and an alias for the user with an OSS initial
working directory.