HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sudo configuration
Operating System - HP-UX
1828388
Members
3117
Online
109977
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
03-19-2007 06:22 AM
03-19-2007 06:22 AM
Sudo configuration
Hi team,
How to allow a SapBasis user to cancel print jobs with sudo ???.
I have installed sudo on 11.23 ia64.
sudo 1.6.8p12
Thanks
How to allow a SapBasis user to cancel print jobs with sudo ???.
I have installed sudo on 11.23 ia64.
sudo 1.6.8p12
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 06:59 AM
03-19-2007 06:59 AM
Re: Sudo configuration
See this previous thread - http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979234
regards,
ivan
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:03 AM
03-19-2007 07:03 AM
Re: Sudo configuration
Hello Miguel
use the visudo command and look at the configuration file. it will give you a pretty good idea on how to set it up
use the visudo command and look at the configuration file. it will give you a pretty good idea on how to set it up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:46 AM
03-19-2007 07:46 AM
Re: Sudo configuration
visudo will edit the /etc/sudoers file for you. The important ones are the User_Alias (to specify user who can execute), Cmnd_Alias (to specify the commands the are allowed to be executed) and privilege area where the specification is completed.
an example sudoers file is given for reference.
# Host alias specification (You can ignore this if you don't have a centralised SUDO configuration)
# User alias specification
User_Alias DBA = user1, user2, user3
User_Alias SAP = user4, user5
# Cmnd alias specification
Cmnd_Alias SU_ORACLE = /usr/bin/su - oracle
Cmnd_Alias CDROM = /usr/sbin/mount /dev/dsk/cdrom /cdrom, \
/usr/sbin/umount /cdrom
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
DBA ALL = NOPASSWD: SU_ORACLE, CDROM
#Users in DBA User Alias are allowed the commnds listed in Command Alias
an example sudoers file is given for reference.
# Host alias specification (You can ignore this if you don't have a centralised SUDO configuration)
# User alias specification
User_Alias DBA = user1, user2, user3
User_Alias SAP = user4, user5
# Cmnd alias specification
Cmnd_Alias SU_ORACLE = /usr/bin/su - oracle
Cmnd_Alias CDROM = /usr/sbin/mount /dev/dsk/cdrom /cdrom, \
/usr/sbin/umount /cdrom
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
DBA ALL = NOPASSWD: SU_ORACLE, CDROM
#Users in DBA User Alias are allowed the commnds listed in Command Alias
There is always something new to learn everyday !!
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP