Operating System - HP-UX
1855287 Members
4732 Online
104109 Solutions
New Discussion

Cancel print jobs in lp spooler

 
sujeet joshi
Frequent Advisor

Cancel print jobs in lp spooler

Hi,

When i am trying to cancel print jobs ,I am getting this error:Not cancelled: not owner.

e.g. jobs owner is xxx and i am login through yyy but i am in the same group what user xxx have.

but still i am getting this error.

Can anybody help me in this solution?

Regards,

Sujeet
11 REPLIES 11
Paul Sperry
Honored Contributor

Re: Cancel print jobs in lp spooler

cancel as root will allways work.
Rick Garland
Honored Contributor

Re: Cancel print jobs in lp spooler

You have to be owner or cancel as root or have sudo installed/configured to allow this.

Do as root

Peter Nikitka
Honored Contributor

Re: Cancel print jobs in lp spooler

Hi,

I'm not shure, but it may be possible to do this with 'restricted SAM'.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Geoff Wild
Honored Contributor

Re: Cancel print jobs in lp spooler

You can only cancel jobs as owner or root.

You could use sudo for user yyy to be able to cancel any jobs.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
roy ibasco
New Member

Re: Cancel print jobs in lp spooler

Hi, You can only cancel, if you have ownership otherwise do root. Goodluck... Roy
siva0123
Trusted Contributor

Re: Cancel print jobs in lp spooler

If not root or owner , It can be done with only sudo.


Thanks,
Siva
Bill Hassell
Honored Contributor

Re: Cancel print jobs in lp spooler

The group membership has no effect in determining whether cancel will work. You must be the owner of the print job.


Bill Hassell, sysadmin
Chirag Parekh
Advisor

Re: Cancel print jobs in lp spooler

Restricted SAM will definetly work as we have that setup in our environment and it allows non-root users to cancel print jobs of other users.
sujeet joshi
Frequent Advisor

Re: Cancel print jobs in lp spooler

Hi ,

Thanks for reply.

Can anybody help me,from where i will be easily available SUDO for HPUX 11.11


Regards,

Sujeet
Emrul
New Member

Re: Cancel print jobs in lp spooler

You have to install HP-UX internet express provided by HP
Bill Hassell
Honored Contributor

Re: Cancel print jobs in lp spooler

Let me clarify a bit. Internet Express is a package of open source software which HP puts into software distributor format. Bookmark thi location:

software.hp.com

then search for sudo. You'll see the two packages for 11.11 and 11.23 (also known as 11iv1 and 11iv2). Select the 11iv1 version, and when you click on download, you can select sudo from all the choices.


Bill Hassell, sysadmin