home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / vmsnet / internal / 1239 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  2.4 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!nigel.msen.com!emory!sol.ctr.columbia.edu!hamblin.math.byu.edu!arizona.edu!mvb.saic.com!macro32
  2. From: DWING@UH01.Colorado.EDU (Dan Wing)
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: Booting MicroVAX 3400 using non-system UIC
  5. Message-ID: <01GO8KCZ8CCY001SUR@VAXF.COLORADO.EDU>
  6. Date: 31 Aug 92 22:41:10 GMT
  7. Organization: Macro32<==>Vmsnet.Internals Gateway
  8. Lines: 46
  9. X-Gateway-Source-Info: Mailing List
  10.  
  11. Eric J. Seeger, eseeger@ssdc.sterling.com, writes:
  12.  
  13. >Is there a way to boot up a MicroVAX 3400 running VMS V5.4 so that a
  14. >site specific definition can reside in a different UIC group instead of
  15. >the system accounts group.  More specifically, I am trying to define
  16. >several specific logicals that I want to have reside in a specific
  17. >accounts group table, and I want to define them during the startup procedure.
  18. >What I am finding is that even if I 'set uic' to the account I want them
  19. >to reside in they are still ending up under the system account during startup.
  20.  
  21. That's because the SYSTEM account's GROUP table is still pointing to
  22. LNM$GROUP_000001.  "SET UIC" doesn't change where your group logical name
  23. table is points.  Now, even if you pointed it to the correct logical name
  24. table, or specified the table's name with DEFINE/TABLE, it wouldn't work
  25. because the table doesn't exist.
  26.  
  27. "So we'll create it".  But the group logical name tables are created in
  28. kernel mode....  So you have to force VMS to create the table for you.
  29.  
  30. Each group's UIC table (LNM$GROUP_nnn) is created when the first login for
  31. that group is performed.  I believe this is performed by LOGINOUT.EXE, and
  32. might be documented in one of the VMS manuals.
  33.  
  34. So all you need to do is create a login with a username that has the
  35. appropriate UIC.  This is a good time to pull out our oft-misused friend
  36. SUBMIT/USER:
  37.  
  38.   $ COPY/PROTECTION=W:RWED SYS$INPUT: SYS$MANAGER:DONOTHING.COM
  39.   $ DECK
  40.   $ EXIT
  41.   $ EOD
  42.   $ SUBMIT/noPRINTER/noLOG/USER=user SYS$MANAGER:DONOTHING.COM
  43.   $ SYNCHRONIZE/ENTRY='$ENTRY'
  44.   $
  45.   $ DEFINE/TABLE=LNM$GROUP_number ...
  46.    ...
  47.  
  48. The DCL command SHOW LOGICAL/GROUP, from the application users' username,
  49. will show you the correct value for LNM$GROUP_number.
  50.  
  51. I'd recommend creating a separate username, with only BATCH access permitted,
  52. which is used for performing this function (so that the "last non-interactive
  53. login" retains its meaning).
  54.  
  55. -Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
  56.  Systems Programmer, University Hospital, Denver
  57.