george@VAX1.CCS.CORNELL.EDU (George Boyce) (08/05/86)
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