- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX Allowing normal user "cancel" command for pr...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 02:10 AM
10-02-2006 02:10 AM
HP-UX Allowing normal user "cancel" command for print requests
Could you please help with a printer requirement on HP-UX 11.11.
Certain users are required to have full printer control capabilities. When they try to cancel requests belonging to another user, the message received is "cancel: You must have root capability to use this option".
Can this be set so that the users do have this capability ? And if possible how can we implement this ?
I will be leaving for the day. Will supply any further details if required later.
Many thanks
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 02:17 AM
10-02-2006 02:17 AM
Re: HP-UX Allowing normal user "cancel" command for print requests
Two options, restricted sam(sam -r) or you can install sudo.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p9/
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 04:28 AM
10-02-2006 04:28 AM
Re: HP-UX Allowing normal user "cancel" command for print requests
sudo is quite versatile but it is too easy to give away root without some thought to the usage. Always start with 100% restriction and add an lp user group and allow only the cancel command. Add other commands to other groups and add users to those groups based on competency.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 09:30 PM
10-02-2006 09:30 PM
Re: HP-UX Allowing normal user "cancel" command for print requests
Thanks Bill. I will also check out the lp user option. I tested with "su - lp" from thr root user and still got the same error as before. Should there be further configuration other then assigning a home directory and password for lp ?
I am not familiar at all with SUDO and will investigate further.
Thanks for the help so far.
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 10:54 PM
10-02-2006 10:54 PM
Re: HP-UX Allowing normal user "cancel" command for print requests
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 04:12 AM
10-03-2006 04:12 AM
Re: HP-UX Allowing normal user "cancel" command for print requests
That sounds like an ownership issue in the spooler directories. Check the spooler installation with the swverify command:
swverify PrinterMgmt
Look for errors using the swjob command at the end of the swverify output.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 09:39 PM
10-05-2006 09:39 PM
Re: HP-UX Allowing normal user "cancel" command for print requests
We are using restricted SAM and the users are happy with that.
Appreciate the help.