Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!sri-spam!nike!ucbcad!ucbvax!VAX1.CCS.CORNELL.EDU!george From: george@VAX1.CCS.CORNELL.EDU (George Boyce) Newsgroups: mod.computers.vax Subject: how to muck with uaf from a (fortran) program Message-ID: <8608052357.AA04537@cu-arpa.cs.cornell.edu> Date: Tue, 5-Aug-86 14:14:32 EDT Article-I.D.: cu-arpa.8608052357.AA04537 Posted: Tue Aug 5 14:14:32 1986 Date-Received: Thu, 7-Aug-86 06:14:26 EDT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: george@vax1.ccs.cornell.edu (George Boyce) Organization: Cornell Computer Services, Ithaca NY Lines: 28 Approved: info-vax@sri-kl.arpa I have at least two problems with a program that changes various fields of a given uaf record. If anyone can help, I'd appreciate it... First, I'm running V4.4 of VMS on an 8500 system. sys$getuai seems to work just fine but sys$setuai seems to return a rms error, record not locked, when I try to change a field of the uaf record associated with the process issuing the call. The process can use sys$setuai to change fields of other records, just not its own. How do I set a password for a given uaf record? Even if sys$setuai would work all the time, I can't find a system call to encrypt (hash?) the password. I see LGI$HPWD in the microfish but I don't know if that is what I need or how to call it... What I want to do is copy a uaf entry, changing the userid. But that makes the password invalid. I don't think the authorize program is the answer as I need to install this particular program with privs and have everyone have access to it. At least, I can't think of any way to use authorize except maybe to set up a server process that can run authorize in a subprocess and can be logged in under a userid that has the appropriate privs. I'm trying to avoid that. Thanks in advance... -- George Boyce, Academic Computing, Cornell University george@vax1.ccs.cornell.edu (128.84.252.10), george@crnlcs.bitnet