![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cancel printer queue permission | KhawHL | SUN Solaris | 1 | 05-04-2009 11:47 PM |
| Root privilege for user | nicktrix | SUN Solaris | 5 | 04-16-2009 06:49 AM |
| Print to ps2pdf print queue | Sean_69 | SUN Solaris | 2 | 10-22-2007 12:00 PM |
| Print to a ps2pdf print queue. | Sean_69 | UNIX for Dummies Questions & Answers | 1 | 10-22-2007 11:58 AM |
| Write privilege for user | here2learn | UNIX for Dummies Questions & Answers | 3 | 11-13-2003 08:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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. |
|
||||
|
You can modify the given logins and assign them the Operator profile:
pfexec usermod -P Operator <login> Where <login> is your usernames' login. An alternative is to install sudo as in a regular Unix and configure the sudoers file to allow some users the execution of that binary files. Regards, Leandro. |
|
||||
|
Quote:
Getting following error.. will try to search for this err code.. # pfexec usermod -P Operator sysopr usermod: can't get real path |
|
||||
|
Quote:
The shell isn't finding the real path to the command. Try: Code:
pfexec env usermod -P Operator sysopr Or find 'usermod' in /usr/ directory and type the full path. |
|
||||
|
Thanks for the reply.
![]() After issue following command, no error message shown. /usr/bin/pfexec /usr/bin/env /usr/sbin/usermod -P Operator sysopr However, still encountered following error. How can I confirm the above command execute successfully? hostname:sysopr> lprm -P ans_p5215 7918 ans_p5215-7918: permission denied |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|