HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can regular users disable/enable printer queues
Operating System - HP-UX
1837208
Members
3644
Online
110115
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-07-2004 01:57 AM
02-07-2004 01:57 AM
I have several printers configured using hppi.
I thought that the enable/disable queue was only available to root; however it appears that anyone can "cycle" these queues.
Is this normal behavior?
I thought that the enable/disable queue was only available to root; however it appears that anyone can "cycle" these queues.
Is this normal behavior?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 02:17 AM
02-07-2004 02:17 AM
Solution
Perfectly normal. disable and enable are section 1 commands, therefore available to all users. If a user decides to disable a printer, it would be appropriate to use the -r option to specofy the reason. However, a printer is automatically disabled whenever a printer script returns a non-zero value. lpstat will report this error code. So it is more likely that there is a printer problem or for network printers, problems with communication that are disabling the printers.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 02:27 AM
02-07-2004 02:27 AM
Re: can regular users disable/enable printer queues
Has this always been the case with enable/disable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 01:56 PM
02-07-2004 01:56 PM
Re: can regular users disable/enable printer queues
Yes, any user may disable any printer. This has been the case since HP-UX was introduced. You might be thinking about cancel which can be restricted to just the owner of a print job, but ONLY for remote printers, not local. If printers are being disabled without a reason code, then you can log the use of disable with a wrapper script. To use it, you rename /usr/bin/disable to disable.orig and put the attached script in place as /usr/bin/disable (make it executable). It will log eveery use of disable to syslog.d
Bill Hassell, sysadmin
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP