- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need to give access to a co-worker to cancel p...
Operating System - HP-UX
1754014
Members
7411
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-05-2002 12:12 PM
тАО11-05-2002 12:12 PM
Please, I need to know, if you can help me to allow a co-worker to cancel print jobs that are not needed any more using the "cancel" commnad from his home account. I want him to be able to cancel a set of print jobs at one time from the "printq" using the following command "cancel -e b18l_hp4_01" but when he does it from his home directory it saids. He needs root access and I don't want him to have root access. I would like to know how could I set him to have privilege to use this command without root access. When I do it from root I have no problem, it's done instantly. Please advise which way should I go with this matter.
Thank you in advance.
RT
Thank you in advance.
RT
Reynaldo Torres
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2002 12:17 PM
тАО11-05-2002 12:17 PM
Re: Need to give access to a co-worker to cancel print jobs.
Try using sudo
Sudo allows a permitted user to execute a command as the superuser.
Sudo determines who is an authorized user by consulting the file
/etc/sudoers. The -V flag will print the version of sudo/visudo you
are running. Sudo will prompt for a user's password to initiate a
validation period of N minutes (where N is defined at installation
time and defaults to 5 minutes). By giving sudo the -v flag a user
can update the time stamp without running a command. The password
prompt itself will also time out if the password is not entered with N
minutes (again, this is defined at installation time and defaults to 5
minutes).
Sudo allows a permitted user to execute a command as the superuser.
Sudo determines who is an authorized user by consulting the file
/etc/sudoers. The -V flag will print the version of sudo/visudo you
are running. Sudo will prompt for a user's password to initiate a
validation period of N minutes (where N is defined at installation
time and defaults to 5 minutes). By giving sudo the -v flag a user
can update the time stamp without running a command. The password
prompt itself will also time out if the password is not entered with N
minutes (again, this is defined at installation time and defaults to 5
minutes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2002 02:15 PM
тАО11-05-2002 02:15 PM
Solution
Hi Reynaldo,
The same functionality can be achieved by giving the user restricted sam privileges.
Basically you just invoke sam using -r & designate the subset of it's functionality to a user or group.
Then when that user or group member runs sam all they see is what was granted to them.
Do a man sam for further details.
Rgds,
Jeff
The same functionality can be achieved by giving the user restricted sam privileges.
Basically you just invoke sam using -r & designate the subset of it's functionality to a user or group.
Then when that user or group member runs sam all they see is what was granted to them.
Do a man sam for further details.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 06:43 AM
тАО11-06-2002 06:43 AM
Re: Need to give access to a co-worker to cancel print jobs.
Another way is just create a user, let's say "co-worker", then join "co-worker" into "lp" group, you can use sam to do so, after that, "co-worker" can do lpstat, cancel, disable and enable.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP