Login.com


The user's SYSUAF.DAT entry specifies a script to be executed whenever login is performed. In the previous example (i.e., UAF> SHOW DMILLER/FULL), it is the LGICMD parameter. In this case, LOGIN.COM corresponds to .profile in UNIX, although that name is not reserved in OpenVMS. In Windows NT, a script's file name is defined in the user's profile and stored embedded in the system directory on the domain server.

After logging in (or within LOGIN.COM), the user may customize his or her session by defining such things as:

  • OpenVMS prompt (see SET PROMPT)

  • Terminal characteristics (see SET TERMINAL)

  • Shortcut keys (see DEFINE/ KEY)

  • File synonyms (see DEFINE)

  • Command synonyms (using the string assignment to define symbols)

For instance, to change the prompt from "$" to "MANAGER>", the following is used:

     $ SET PROMPT="MANAGER> " 

If the logical SYS$SYLOGIN is defined (it is usually equated to SYS$MANAGER:SYLOGIN.COM), then this command file is executed each time a user logs in but before the user's LOGIN.COM. That way the system manager can create universal symbols and logicals to be used by all users. The user's LOGIN.COM may override those predefined definitions. SYLOGIN.COM is discussed in Chapter 1.




Getting Started with OpenVMS System Management
Getting Started with OpenVMS System Management (HP Technologies)
ISBN: 1555582818
EAN: 2147483647
Year: 2004
Pages: 130
Authors: David Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net