From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7c0262c34fa2cea6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-12 10:24:57 PST Path: gmdzi!unido!mcsun!uunet!munnari.oz.au!manuel!csc.anu.edu.au!bxf103 From: bxf103@csc.anu.edu.au Newsgroups: comp.sys.dec Subject: Re: Print queue set up for VAXstation 2000 Message-ID: <1991Sep12.175350.1@csc.anu.edu.au> Date: 12 Sep 91 06:53:50 GMT References: <1991Sep6.140717.1@venus.ycc.yale.edu> Sender: news@newshost.anu.edu.au Organization: Computer Services, Australian National University In <1991Sep6.140717.1@venus.ycc.yale.edu>, Tang Wong writes: >My friend is trying to set up a print queue on a VAXstation 2000 which >is also part of a cluster. The first question is what is the name of >the printer port. The system manager who is a fellow student does not >know the answer. He has tried all of the device names in SHOW DEVICE >but none of them worked. Strange. We have thrown out our VS2000's a while ago, but I think the printer port was CSA0 or CSA1. If you are still running UIS, you can try to $ SHOW LOGICAL UIS$PRINT_DESTINATION. That defaults to the printer port on the machine unless you have redirected the screen-dumps elsewhere. > The second question is how to prevent users >in the cluster from using his printer; ie, how to set protection for >the queue. If, for argument's sake, you queue is called VS2000$PRINT and the user who needs access is called TANG then you do the following: $ MCR AUTHORIZE UAF> ADD/IDENTIFIER VS2000PRINT UAF> GRANT/IDENTIFIER VS2000PRINT TANG UAF> EXIT This creates the identifier "VS2000PRINT" and grants it to the user TANG. Next you type: $ SET QUEUE/PROTECTION=WORLD VS2000$PRINT That will stop the "world" from accessing the queue (normally the "world" can Write). Finally you type: $ SET ACL/OBJ=QUEUE/ACL=(IDENTIFIER=VS2000PRINT,ACCESS=WRITE) VS2000$PRINT This will set an AccessControlList on VS2000$PRINT which allows holders of the "VS2000PRINT" Identifier to Write to the queue VS2000$PRINT. [It may be a good idea to grant that id to SYSTEM as well ?!] Note: You need a lot of privileges to do all this. Cheers Bernhard Fabricius POSTMASTER@NUC.ANU.EDU.AU