Operating System - HP-UX
1832831 Members
2997 Online
110047 Solutions
New Discussion

Re: Can cancel print job by other user?

 
akit3210
Occasional Advisor

Can cancel print job by other user?

My print job on unix submit by user aaa.If I want other user cancel job of user aaa. It's possible?

I can cancel job by owner and root user.
But In this case, I want give response for cancel print job to user bbb.
Because I will force user bbb use only menu(create by shell script) after him login (in .profile).

Please suggest me, Thank you.
6 REPLIES 6
Peter Godron
Honored Contributor

Re: Can cancel print job by other user?

akit3210
Occasional Advisor

Re: Can cancel print job by other user?

Sorry, I have many system include HPUX but this system is SunSolaris.
I think it's not have sudo or SAM function.

Thank you for your answer :(
OldSchool
Honored Contributor

Re: Can cancel print job by other user?

sudo is "user-supported" software and is widely available. One site that may be of interest for you is:
http://www.courtesan.com/sudo/download.html

and search for sudo there.
Paul Sperry
Honored Contributor

Re: Can cancel print job by other user?

Here is the download an cookbook for installing sudo on sloaris.

http://www.kempston.net/solaris/sudo.html
akit3210
Occasional Advisor

Re: Can cancel print job by other user?

Thank you for more suggest.
I will try to install and test.

Ps. I'm search and found RBAC in Solaris
maybe this can use for this purpose?

akit3210
Occasional Advisor

Re: Can cancel print job by other user?

Succesfully, Now I can use RBAC create role for take root permission on /usr/bin/cancel and grant to user.

http://www.sun.com/bigadmin/content/submitted/custom_roles_rbac.html

Thank you all recommend.