General
cancel
Showing results for 
Search instead for 
Did you mean: 

restricted sam and associated command

SOLVED
Go to solution

restricted sam and associated command

If a user has the ability to do printer request maintenance in a restricted sam session, does this also allow them to do it from the command line as well without going into sam?
8 REPLIES
Patrick Wallek
Honored Contributor

Re: restricted sam and associated command

No.

Restricted SAM is just SAM, it has nothing to do with access, or not, to the command line commands.

Re: restricted sam and associated command

should a normal user be able to cancel print requests then?
OldSchool
Honored Contributor
Solution

Re: restricted sam and associated command

a normal user would have the ability to cancel requests *they* initiated, using

cancel printer-job

there are other options. see "man cancel" for them.

a typical user would not be able to cancel jobs they don't own...

Re: restricted sam and associated command

If a user is not logged in as root, there should be no way for them to cancel a print request that is not their own from the command line. right???
Michael Mike Reaser
Valued Contributor

Re: restricted sam and associated command

Craig > If a user is not logged in as root, there should be no way for them to cancel a print request that is not their own from the command line. right???

Unless you have a wrapper script or other mechanism that's doing an su or sudo to a root-based process that *then* issues the cancel, you are correct.
There's no place like 127.0.0.1

HP-Server-Literate since 1979

Re: restricted sam and associated command

Thanks for your help everyone...
Michael Mike Reaser
Valued Contributor

Re: restricted sam and associated command

If we helped, assigning points would be a "neighbourly" thing to do... *hint*
There's no place like 127.0.0.1

HP-Server-Literate since 1979

Re: restricted sam and associated command

sorry, didn't store the point when i put them in.