Sponsored Content
Operating Systems Solaris what privilege to assign for user to cancel or disable print queue? Post 302328679 by KhawHL on Thursday 25th of June 2009 03:26:23 AM
Old 06-25-2009
what privilege to assign for user to cancel or disable print queue?

OS Version: Sun Solaris version 9

Other than root, we need operation to manage printer queue by using following command:

lprm -P
cancel
enable/disable

What privilege should be given?

Pls advise.
Thank you.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Write privilege for user

Is it possible to grant write privileges to a user on a directory with out having to add the user to a group or make the user the owner of the directory? My background is in Windows and in Windows you can grant specific privileges to a user without having to put the user in a group or making the... (3 Replies)
Discussion started by: here2learn
3 Replies

2. AIX

[Help] Give privilege to an ordinary user

I'm trying to give a non-root user the right to start IBM HTTP Server, the web server is listening on port 80, but for AIX, ports under 1024 are privilege ports which can be used only by root. /usr/IBMIHS/bin# ./apachectl start (13)Permission denied: make_sock: could not bind to address :::80... (1 Reply)
Discussion started by: ibmer414
1 Replies

3. Solaris

Root privilege for user

Can anyone please tell how to give root privilege to a normal user in solaris 10? (5 Replies)
Discussion started by: nicktrix
5 Replies

4. Solaris

Cancel printer queue permission

How to assign permission for a user to cancel unix printer queue other than root? lprm -P and cancel? How to chmod for /bin/cancel to -rws-x-x --> s means? Please help. Thank you. (1 Reply)
Discussion started by: KhawHL
1 Replies

5. AIX

User Privilege

How to assign superuser privilege to an ordinary user temporarily (1 Reply)
Discussion started by: udtyuvaraj
1 Replies

6. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

Hello, Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one. Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one? My AIX system is 5.3 Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies

7. AIX

sudo - User privilege specification

I am planning to implement sudo for users. Under , it looks I have to put the users who need to have sudo access: What are the recommended for users? I don't think I need to give the ALL privilege (i.e ) to AIX users. I'd like to know the commonly used privilege specification for sudo... (9 Replies)
Discussion started by: Daniel Gate
9 Replies

8. UNIX for Dummies Questions & Answers

Cannot cancel a print

Hi Everyone, I am trying to cancel a print. I am logged on as the user of the print and when I use the command 'cancel print_job' I get the message 'print_job: not authorized' I have cancelled other prints in the queue, but this particular job in the queue cannot delete. I even logged on as... (5 Replies)
Discussion started by: Scarlet
5 Replies

9. Shell Programming and Scripting

Create user with different privilege

Hi , I want to create 3 different user with below privilege in Solaris and Linux. 1) Read Only 2)Read and Write Only 3) Admin user Can you guys help me on this . (3 Replies)
Discussion started by: Naveen Pathak
3 Replies

10. Post Here to Contact Site Administrators and Moderators

Is there an easy way for a moderator to cancel a duplicate account (other than banning the user)?

In the thread https://www.unix.com/shell-programming-and-scripting/254651-i-tried-add-permenat-alais-bashrc.html#post302932057 user Joshua Smith made his 1st and only post. Later in that thread, user jtsmith90 continued the conversation and said he had forgotten that he already had an account. ... (3 Replies)
Discussion started by: Don Cragun
3 Replies
lprm(1)                                                             Apple Inc.                                                             lprm(1)

NAME
lprm - cancel print jobs SYNOPSIS
lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job ID(s) ] DESCRIPTION
lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is cancelled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs. OPTIONS
The lprm command supports the following options: -E Forces encryption when connecting to the server. -P destination[/instance] Specifies the destination printer or class. -U username Specifies an alternate username. -h server[:port] Specifies an alternate server. COMPATIBILITY
The CUPS version of lprm is compatible with the standard Berkeley lprm command. SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 28 August 2009 CUPS lprm(1)
All times are GMT -4. The time now is 12:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy