Sponsored Content
Operating Systems AIX AIX user administration - queue management Post 302967520 by sobnc on Wednesday 24th of February 2016 12:18:50 PM
Old 02-24-2016
CPU & Memory AIX user administration - queue management

Dear All

Please how can I create a user which would be only able to manage queue printer like creating, release, hold etc a printer queue. He would for example be able to enter commands like :

- lpstat -pprintqueue where printqueue is an existing queue on the server

- enable printqueue where printqueue is an existing queue on the server

- lp -dprintqueue where printqueue is an existing queue on the server

Thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

User Administration

I have an application that runs on Unix and the user administration is managed at a Unix level. The application has an application ID which is linked to the user ids which are created at Unix level. Can you please help if I can be able to track which user used the Application ID and what action was... (0 Replies)
Discussion started by: Kopano
0 Replies

2. UNIX for Dummies Questions & Answers

Basic Aix Administration Questions...

Would this be the right forum to ask basic unix administration questions relating to smitty tasks, etc? (2 Replies)
Discussion started by: NycUnxer
2 Replies

3. Solaris

user administration

hi ' i am creating a primary group and a secondary group for a user. #groupadd -g 101 test #groupadd -g 102 test1 #useradd -d /export/home/user1 -m -s /bin/ksh -g test -G test user1 in /etc/passwd i can find the username as user1 and group name as test and where can i find the... (4 Replies)
Discussion started by: madhudeepan
4 Replies

4. Solaris

Solaris User Administration

Hi All..... How many maximum no of users can be created in solaris 10.0 Waiting for the reply ..... (2 Replies)
Discussion started by: sendhils13
2 Replies

5. Solaris

Solaris User Administration

unable to run smgroup / smadd command to create or modify the users and directories. (1 Reply)
Discussion started by: sendhils13
1 Replies

6. Shell Programming and Scripting

User administration

Dear All, I need to restrict the users in our server. 1.History & history -c command working all groups & others.So i need to restrict history -c option for groups & others . 2.Any option available to view user activity with all Eg--->user1 Jul22 10:20:11 date 3.Any other Special... (7 Replies)
Discussion started by: kpoobathi
7 Replies

7. AIX

Questions on AIX 7 Administration

Here i have a question about AIX 7 Administration test. I just want the explanation: The cfgmgr command appears to be taking an excessive time to complete. The administrator was able to quit the command and return to the command prompt. The administrator does not have access to themanaging HMC and... (1 Reply)
Discussion started by: edwardz
1 Replies

8. AIX

User/group management in AIX

We have an environment of around 50 AIX LPARs. We use scripts for user and group account management but it is starting to get unwieldy to document and manage the accounts. It would be doable with scripts but before we dedicate resources to that, I was wondering if there is any product that you... (2 Replies)
Discussion started by: wilford
2 Replies

9. UNIX for Beginners Questions & Answers

AIX Administrator - User Profile Management

Good afternoon all, Was un-sure on where to post this so I thought I would use this topic... I was wondering what best practice people use for the deletion of user profiles on AIX systems? At the moment, I currently don't delete any user profiles, they are just disabled as they... (1 Reply)
Discussion started by: SteveCPayne
1 Replies
lprm(1) 						      General Commands Manual							   lprm(1)

NAME
lprm - Removes requests from the line printer spooling queue SYNOPSIS
lprm [-Pprinter] [-] [request_ID...] [user...] The lprm command removes one or more requests from a printer's spool queue. OPTIONS
Removes all requests that a user owns. If specified by a user with superuser authority, the spool queue is emptied entirely. Specifies the queue associated with a specific printer; otherwise, the default printer or the value of the PRINTER variable in the environment is used. DESCRIPTION
Because the spooling directory is protected from users, using lprm is normally the way a user can remove a request. The lprm command without any arguments deletes the currently active request if it is owned by the user who invoked lprm. The - flag removes all requests from the user issuing the command. If a user who has superuser authority uses this flag, the spool queue is emptied entirely. The owner is determined by the user's username and hostname on the machine where the lpr command was invoked. You can remove an individual request from a queue by specifying its request ID. (You can obtain the request ID by using the lpq or lpstat commands.) Specifying one or more users removes any requests queued belonging to those users. This works only for a user with superuser authority. The lprm command is silent if there are no requests in the queue that match the request list. The lprm command kills an active daemon, if necessary, before removing any spooling files. If a daemon is killed, a new one is automati- cally restarted upon completion of file removals. NOTES
Because race conditions are possible in the update of the lock file, the currently active request may be incorrectly identified. DIAGNOSTICS
The user tried to remove files that belong to another user. EXAMPLES
To remove a request from the default queue by specifying the request ID, enter: lprm 13 To remove a request from a specific queue, enter: lprm -Plp0 13 To remove from a specific queue a request from user guest, enter: lprm -Plp0 guest FILES
Printer description file. Spool directories. Daemon control files. Data files specified in cf files. Temporary copies of cf files. Lock file used to obtain the process ID of the current daemon and the request ID of the currently active request. SEE ALSO
Commands: lp(1), lpc(8), lpd(8), lpq(1), lpr(1), lpstat(1) lprm(1)
All times are GMT -4. The time now is 02:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy