Operating System - OpenVMS
1821188 Members
3333 Online
109631 Solutions
New Discussion

/DIRECTORY specification when COPYing a UAF record to create a new user account

 
SOLVED
Go to solution
yaron1
Advisor

/DIRECTORY specification when COPYing a UAF record to create a new user account

Hi,

When I create a new UAF record by the COPY command of the AUTHORIZE utility and I want the new user to have a different default directory, I add the qualifier /DIRECTORY=[].
1) Is it the (implied in this case) /DEVICE qualifier that specifies the disk?
2) Can I specify the full path of that new directory? This new directory will need not be 1 level below the master file directory of the disk but more. I noticed that the DEC manuals give examples without full path of the directories (what if there are more than 1 directories above) ?.
3) In the AUTORIZE utility, if I do SHOW on the user account that I want to COPY I see that the device for the default is a logical name that includes some upper directories (if I translate this logical name). It has the format:
Default: USER_DEVICE:[USER1]
Is that mean that the /DEVICE can be a logical name that includes subdirectories?
4) Is this question true to the other AUTHORIZE commands like MODIFY and ADD?

Thanks for the answers,

Yaron.
1 REPLY 1
Steven Schweda
Honored Contributor
Solution

Re: /DIRECTORY specification when COPYing a UAF record to create a new user account

1) Yes.

2) Yes. Any directory is ok.

3) If AUTHORIZE says:
Default: USER_DEVICE:[USER1]
then the device is "USER_DEVICE:", which may
be a logical name, and the directory is
"[USER1]".

The device part itself may be a logical name,
but if it includes directories, it would, I
believe, need to be a "rooted" logical name,
like SYS$SYSROOT for user SYSTEM:

Default: SYS$SYSROOT:[SYSMGR]

alp $ show logi SYS$SYSROOT
"SYS$SYSROOT" = "ALP$DKA0:[SYS0.]" (LNM$SYSTEM_TABLE)
= "SYS$COMMON:"
1 "SYS$COMMON" = "ALP$DKA0:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE)

That one's also a two-member search list, but
the important thing here is the trailing dot
in "[SYS0.]" or "[SYS0.SYSCOMMON.]".

(SHOW LOGI /FULL to see all the attributes of
the logical name. Note in particular,
"concealed".)

4) Yes.