Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: leonard@telcom.arizona.edu (Aaron Leonard)
Subject: Re: SYSUAF and SETUAI & GETUAI
Date: 30 Aug 1994 16:00:31 GMT	[thread overview]
Message-ID: <33vl2v$36e@news.CCIT.Arizona.EDU> (raw)
In-Reply-To: 33vabe$i87@ghost.shsu.edu


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. /


  reply	other threads:[~1994-08-30 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-08-30 12:57 SYSUAF and SETUAI & GETUAI James T. Horn
1994-08-30 16:00 ` Aaron Leonard [this message]
1994-08-30 18:57   ` Harry Flowers
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox