- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: 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
Discussions
Discussions
Forums
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
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.