From: bxf103@csc.anu.edu.au
Subject: Re: Print queue set up for VAXstation 2000
Date: 12 Sep 91 06:53:50 GMT [thread overview]
Message-ID: <1991Sep12.175350.1@csc.anu.edu.au> (raw)
In-Reply-To: 1991Sep6.140717.1@venus.ycc.yale.edu
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
next prev parent reply other threads:[~1991-09-12 6:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-09-06 19:07 Print queue set up for VAXstation 2000 tang
1991-09-12 6:53 ` bxf103 [this message]
1991-09-12 13:35 ` Esther Lumsdon
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox