- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- lprm permission denied
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
04-22-2004 06:14 AM
04-22-2004 06:14 AM
lprm permission denied
#!/usr/bin/bash
export PATH=$PATH:/usr/local/bin:/usr/bin
echo -n Please enter Printer :
read printer
lpstat -o$printer
echo -n Which Job number to cancel, CR for none :
read cancel
super lprm -P$printer $cancel
My /usr/local/etc/super.tab
has this entry.
lprm /usr/bin/lprm prntmgr:@earth
When I run the script as root it works but
when ran as the user prntmgr I get the
permission denied message.
We are running OSF1 V5.1 732 alpha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2004 01:54 AM
04-23-2004 01:54 AM
Re: lprm permission denied
it should be:
-rws--x--x root bin lprm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2004 02:16 AM
04-23-2004 02:16 AM
Re: lprm permission denied
bash-2.04# ls -al lprm
-rws--x--x 1 root bin 67328 Apr 12 2001 lprm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2004 09:40 AM
04-25-2004 09:40 AM
Re: lprm permission denied
Please check if the lpc command works or also fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2004 06:01 AM
04-26-2004 06:01 AM
Re: lprm permission denied
cancel /usr/bin/cancel prntmgr:@earth
bash-2.04$ super cancel 6 lj_1
cfA006earth: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2004 08:24 PM
04-26-2004 08:24 PM
Re: lprm permission denied
Hopefully you have created the printqueues with the lprsetup command, otherwise create a test queue and check again.
If lprm and lpc runs with full privileges (s-bit on executable) there can be no "permission" problems at all!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:45 AM
04-30-2004 01:45 AM
Re: lprm permission denied
did you succeed?
Pax, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 06:53 AM
05-24-2004 06:53 AM
Re: lprm permission denied
In the super.tab file I had to set
uid=root
Then everything worked fine. Thanks for all of the input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 09:42 AM
05-24-2004 09:42 AM
Re: lprm permission denied
But this is not an "official" program like dop - so maybe you ask for a solution not really a Tru64 problem.
PS: If you are an outsider of the real world, create your own!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 03:42 AM
05-25-2004 03:42 AM
Re: lprm permission denied
Your correct this probably wasn't a tru64 problem but since lprm is a tru64 command and not a hp-ux command I posted my question here. And yes the solution was the super.tab file. Thanks again for all of the input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 04:25 AM
05-25-2004 04:25 AM
Re: lprm permission denied
not "lprm" was the problem, the tool "super" was it. Without knowing the tool "super" nobody can solve the problem - that's the difference!
"super" is not part of Tru64 and shareware and opensource tools are best supported by their authors or organisations...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 04:55 AM
05-25-2004 04:55 AM
Re: lprm permission denied
I see your point but it has been my experience that I get more support at this forum than I do at shareware/opensource sites. There are several posts on this forum on shareware/opensource products as well as database "oracle" posts. None of these products are part of the OS but people post their questions here because of the vast knowledge of the forum members.
But I do agree with you, this was not a TRU64 problem. But I did solve the problem whith the help of all the great members here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 08:26 AM
05-25-2004 08:26 AM
Re: lprm permission denied
Oracle is a product official certified and supported. There is a list of software which is opensource but adopted or modified by HP itself - so supported in parts (like setup, Apache customization etc. is unsupported).
This forum is for HP products only. In your case "DOP" is the equivalent to "super". The solution for your problem was OS independent because it was a problem of handling "super" not "lprm". For all non HP supported products please use the forums of the company or organisation which supports the product.