[Info-vax] sys admin default directory

Steven Schweda sms.antinode at gmail.com
Sat Feb 6 18:30:45 EST 2016


> Every user has their directory. WHen loggin in as system
> are you automatically in "your" directory as sys admin?

   Yes.  On VMS, you have a logical name, SYS$LOGIN, which
corresponds roughly to the environment variable HOME on a
Unix system.

   A user's initial default (login/home) directory is
recorded/specified in the User Authorization File (UAF).

      SET DEFAULT SYS$SYSTEM
      RUN AUTHORIZE
      HELP
       ADD [or MODIFY]
        /DEVICE
        /DIRECTORY

>  I type this
> 
> set def [-]
> And my directory changes. I don't know if I'm going up or
> down.

   "[-]" is up one, like ".." on Unix.  I seldom want to do
this from my login directory, especially when logged in as
SYSTEM.

>  I want to be in "my root" and work everything from
> there.

   set default SYS$LOGIN


> §5.5.2 mentions "-" and says subdirectory. I want sys admin
> MFD. 

   MFD is a concept for the file system as a whole.  SYSTEM
(or any other user) does not have an MFD.  Every user does
have a default (login/home) directory, and SYS$LOGIN normally
points to it (at least initially, until you change it, which
you may never want to do).



More information about the Info-vax mailing list