SpyderByte.com: OpenVMS.org dcl.OpenVMS.org de.OpenVMS.org fr.OpenVMS.org Tru64.org
Island Computers

Home Contribute News, Jobs, Press Releases, etc. Advertise on OpenVMS.org About/Contact Search News Archives
More Links
  • OpenVMS Consultant
  • Logical Names (Part 5) >>
  • << Logical Names (Part 3)
  • << Logical Names (Part 2)
  • << Logical Names (Part 1)
  • www.rlgsc.com
  • gezelter@rlgsc.com
  • Printer friendly version
    Share this story

    OpenVMS.org Features
    Hobbyist Registration
    Featured Articles
    VMS Audio Update (archives)
    Golden Eggs
    Need Help
    Forums, Lists & Groups
    Docs, Manuals & Tutorials, etc.
    VMS Beginners
    Developer Resources
    Misc. Resources
    For Hire
    Hardware Vendors
    Training & Education
    Opensource & Freeware
    Security, Patches, ECOs
    Security Advisories
    Alphaserver firmware
    Older Alphaserver firmware
    HP OpenVMS Roadmap
    VMS Software Inc Roadmap

    HPSC: OpenVMS
    Hobbyist Forums
    Usenet: comp.os.vms
    StackOverflow (VMS)

    OpenVMS.org Info
    OpenVMS.org Staff:
    Ken Farmer Follow OpenVMS.Org on Twitter
    Ian Miller Follow Ian Miller on Twitter
    Susan Skonetski Follow MamaVMS on Twitter
    Submit News

    Google Ads

    OpenVMS.org Polls
    What brand of smartphone do you use?
    Don't have smartphone

    [ results | polls ]

    Latest News

    The OpenVMS Consultant: Logical Names (Part 4)
    Posted by Bob Gezelter on Thursday February 06 2003 @ 11:15AM EST

    There is one additional set of qualifiers on the ASSIGN command which are often used, and we will encounter when constructing examples. These parameters affect the mode of the logical name created/redefined by the $CRELNM system service used by the implementation of the ASSIGN command.

    The relevant qualifiers are /EXECUTIVE_MODE, /SUPERVISOR_MODE, and /USER_MODE. The /EXECUTIVE_MODE qualifier requires the privilege to get to executive mode (CMEXEC) or the higher privilege required to enter kernel mode (CMKRNL). When first examining this aspect of OpenVMS, many users question why it is necessary to implement this mechanism at all. The answer is "system integrity".

    On some level, virtually all images executing on an OpenVMS system use logical names. The integrity problem comes when a program executing at a higher privilege level needs access to certain facilities, which are pointed to by a logical name. If a privileged program were to use a logical name defineable by a user for critical purposes, it would be possible to spoof operations, compromising system integrity as surely as entering kernel mode itself. For this reason, programs are able to restrict their logical name translations to names which were defined in executive mode, which can only be defined by a user or image running with the CMEXEC privilege enabled.

    /SUPERVISOR_MODE is the default mode for logical names created with the ASSIGN command. SUPERVISOR_MODE logical names in the JOB and PROCESS logical name tables persist for the duration of the process or job respectively (or until they are deleted using the DEASSIGN command). Of course, it is possible to create/delete logical names directly using OpenVMS system services or run-time library routines. However, these system services and run-time library routines require the use of a programming language, and most users, managers, (and for that matter, programmers) will use the DCL commands the majority of the time.

    The /USER_MODE qualifier presents an option which is not well understood by many users. USER_MODE logical names are automatically deleted when an image exits. Thus, there are no cleanup operations required. No matter how many USER_MODE logical names are created prior to the execution of an image, they will all be deleted from the logical name table when the image exits. the auto-DEASSIGN feature of USER_MODE logical names only applies to the PROCESS logical name table, however.

    Of course, there are other qualifiers on the ASSIGN command, and other facets of the logical name facilities including cluster-wide logical names, group-wide logical name tables, private logical name tables, name table quotas, rooted logical names, search lists, to name a few. Each facet of the logical name table facilities has its uses, and we will cover other facets in future columns.

    For now, we have accumulated enough qualifiers and keywords to construct useful examples of how logical names can be used effectively, ranging from individual development environments to global system management.

    The OpenVMS Consultant welcomes questions from readers about OpenVMS and related technologies. Please submit your questions to theOpenVMS Consultant.

    Next article in this series by Robert Gezelter:
    Logical Names (Part 5) >>

    Previous articles in this series by Robert Gezelter:
    << Logical Names (Part 3)
    << Logical Names (Part 2)
    << Logical Names (Part 1)


    Robert Gezelter is the Founding Principal of the consulting firm that bears his name (www.rlgsc.com).

    The firm's consulting practice emphasizes in-depth technical expertise in computer architectures, operating systems, networks, security, APIs, and related matters. Mr. Gezelter has worked with OpenVMS since the initial release of VAX/VMS in 1978.

    His clients include small businesses to the Fortune 10, locally, nationally, and internationally on matters spanning the range from individual telephone questions to major projects.

    He can be reached at gezelter@rlgsc.com.

    < c|net: Itanium gives OpenVMS new lease on life | PR: HP Announces that OpenVMS is now running on Intel Itanium Architecture >

    Island Computers

    Virtual VAX & Alpha


    The OpenVMS Consultant

    Interested in Advertising?
    Contact us...

    Friends of VMS
    HP usergroups...
    OpenVMS Hobbyist
    Itanium Solutions Alliance
    Aaron's OpenVMS blog
    Alexey Chupahin
    Arne Vajhoej
    DECUS Library Compendium
    DJE Systems
    Dr OpenVMS blog
    Francesco Gennai
    Eight-Cubed blog
    Free OpenVMS Software
    Galen Tackett
    Hunter Goatley
    Ian Miller
    Influential Software
    Itanium Solutions Alliance
    Jeff Cameron
    John Fisher
    Syltrem VMS Page (French)
    Kednos PL/I
    Keith Parris
    Migration Specialties
    Noetic Systems, Inc
    OpenOffice Port to VMS
    OpenVMS Rocks
    Steven M. Schweda
    SYSMGR Blog
    TMESIS Software
    Trends That Matter
    VAMP (VMS, Apache, MySQL, PHP)
    Visio Cafe (HP Templates)
    Free VMS Accounts:
    Deathrow Public OpenVMS Cluster
    Poetry Hacklab

    In Memory: John Wisniewski
    In Memory:Terry Shannon

    Add, edit, report problems here...

    OpenVMS Ring

    OpenVMS Webring







    Home About & Contact Search Archive Mobile Submit News Sponsorship & Advertising
         Copyright © 2001-2012 SCORSE, LLC
    OpenVMS® is a trademark of HP
    All other trademarks are those of their owners.
      SpyderByte.com ;Technical Portals