[comp.os.vms] PASSING PRIVS TO COMMAND PROCS

graham@DRCVAX.ARPA (06/26/87)

I can think of two quick ways to do what you want:

First, establish a captive account with the command procedure to do the 
backups.  At the end of the procedure place a logout command.  Give the 
account the necessary privelages and write the procedure so that it cannot 
be broken out of.  This will gie the procedure the needed privelages.

Write a small program that uses $creprc to start the process with the 
needed command procedure and privelages.  The program can be installed with 
the needed privelages.  The problem here is there is no interactive input 
allowed.

Hope one of these helps.


Hackito, ergo sum.          

Dan Graham, Dynamics Research Corporation, (617) 475-9090 Ext. 2352
GRAHAM@DRCVAX.ARPA

Hoc est meum hackum.  Ideas and opinions are mine, not my employers.  In
fact, my employer barely claims to know me at all.  I make no claim to
sanity in any form or on any level. 

------