* SYSUAF and SETUAI & GETUAI
@ 1994-08-30 12:57 James T. Horn
1994-08-30 16:00 ` Aaron Leonard
0 siblings, 1 reply; 3+ messages in thread
From: James T. Horn @ 1994-08-30 12:57 UTC (permalink / raw)
We have a cluster in which two of the systems share one SYSUAF file, and a
third system has it's own SYSUAF file. We had been using on the system that
has it's own SYSUAF file a program that sets passwords for the shared
SYSUAF by defining SYSUAF to be the shared SYSUAF:
DEFINE/USER SYSUAF SYS$COMMON:[SYSEXE]SYSUAF.DAT
then doing SETUAI to reset the password.
Will, it appears that the calls GETUAI and SETUAI only operate in EXEC mode
in the LNM$SYSTEM_TABLE. My question is does any one know how to work
around this?
Any help would be greatly appreciated.
-------------------------------------------------------------------------
James T. Horn = _ /|
Coordinator, VMS Systems = \'o.O`
Sam Houston State University = =(___)=
Internet : horn@Oliver.shsu.edu = U
http://oliver.shsu.edu/~horn/horn.html = Bill The Cat
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SYSUAF and SETUAI & GETUAI
1994-08-30 12:57 SYSUAF and SETUAI & GETUAI James T. Horn
@ 1994-08-30 16:00 ` Aaron Leonard
1994-08-30 18:57 ` Harry Flowers
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Leonard @ 1994-08-30 16:00 UTC (permalink / raw)
In article <33vabe$i87@ghost.shsu.edu>, horn@oliver.shsu.edu (James T. Horn) writes:
|We have a cluster in which two of the systems share one SYSUAF file, and a
|third system has it's own SYSUAF file. We had been using on the system that
|has it's own SYSUAF file a program that sets passwords for the shared
|SYSUAF by defining SYSUAF to be the shared SYSUAF:
|
|DEFINE/USER SYSUAF SYS$COMMON:[SYSEXE]SYSUAF.DAT
|
|then doing SETUAI to reset the password.
|
|Will, it appears that the calls GETUAI and SETUAI only operate in EXEC mode
|in the LNM$SYSTEM_TABLE. My question is does any one know how to work
|around this?
That's not true. The logical SYSUAF does have to be defined in
EXEC mode, but it can be in any table (which is in the LNM$FILE_DEV
list.) The DEFINE/USER you *were* doing was irrelevant ... it just
*seemed* to be working because SYS$SYSTEM:SYSUAF.DAT is the default
SYSUAF.
So your workaround is to do a DEFINE/PROCESS/EXEC before running your
program (and DEASSIGN/PROCESS/EXEC afterward!), or to do a $CRELNM /
$DELLNM in your program. (The way I did it, was to do the $DELLNM in
the program's exit handler, so the LNMs could be fixed up on exit in
event of strange termination.)
Regards,
Aaron
Aaron Leonard (AL104), <Leonard@Arizona.EDU>
University of Arizona Network Operations, Tucson AZ 85721
\ Don't lock yourself into open systems. /
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SYSUAF and SETUAI & GETUAI
1994-08-30 16:00 ` Aaron Leonard
@ 1994-08-30 18:57 ` Harry Flowers
0 siblings, 0 replies; 3+ messages in thread
From: Harry Flowers @ 1994-08-30 18:57 UTC (permalink / raw)
In article <33vl2v$36e@news.CCIT.Arizona.EDU>, leonard@telcom.arizona.edu (Aaron Leonard) writes:
> In article <33vabe$i87@ghost.shsu.edu>, horn@oliver.shsu.edu (James T. Horn) writes:
>
> |We have a cluster in which two of the systems share one SYSUAF file, and a
> |third system has it's own SYSUAF file. We had been using on the system that
> |has it's own SYSUAF file a program that sets passwords for the shared
> |SYSUAF by defining SYSUAF to be the shared SYSUAF:
> |
> |DEFINE/USER SYSUAF SYS$COMMON:[SYSEXE]SYSUAF.DAT
> |
> |then doing SETUAI to reset the password.
> |
> |Will, it appears that the calls GETUAI and SETUAI only operate in EXEC mode
> |in the LNM$SYSTEM_TABLE. My question is does any one know how to work
> |around this?
>
> That's not true. The logical SYSUAF does have to be defined in
> EXEC mode, but it can be in any table (which is in the LNM$FILE_DEV
> list.) [...]
This is trickier that it sounds. The executive mode version of LNM$FILE_DEV
has to include the process table in order for process logicals to be visible
in executive or inner mode. By default, the executive mode definition only
includes the system table. So, you have to redefine LNM$FILE_DEV in executive
mode before an executive mode process logical will be visible when the minimum
mode is executive. I'm sure I could have worded this better, but you get the
idea. ;-)
--
Harry Flowers Internet:FLOWERS@CC.MEMPHIS.EDU or FLOWERS@NARNIA.MEMPHIS.EDU
The University of Memphis, 112 Administration Bldg., Memphis, TN 38152 (USA)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-08-30 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-30 12:57 SYSUAF and SETUAI & GETUAI James T. Horn
1994-08-30 16:00 ` Aaron Leonard
1994-08-30 18:57 ` Harry Flowers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox