From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,511d1a15427b074e X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-30 09:23:05 PST Path: bga.com!news.sprintlink.net!uunet!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!nic-nac.CSU.net!news.Cerritos.edu!news.Arizona.EDU!telcom.arizona.edu!leonard From: leonard@telcom.arizona.edu (Aaron Leonard) Newsgroups: comp.sys.dec Subject: Re: SYSUAF and SETUAI & GETUAI Date: 30 Aug 1994 16:00:31 GMT Organization: University of Arizona Telecommunications Sender: leonard@Maggie.Telcom.Arizona.EDU (Aaron Leonard) Distribution: world Message-ID: <33vl2v$36e@news.CCIT.Arizona.EDU> References: <33vabe$i87@ghost.shsu.edu> Reply-To: Leonard@Arizona.EDU NNTP-Posting-Host: maggie.telcom.arizona.edu X-Newsreader: mxrn 6.18-18 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), University of Arizona Network Operations, Tucson AZ 85721 \ Don't lock yourself into open systems. /