- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Execute some command of root user
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО12-29-2010 12:58 AM
тАО12-29-2010 12:58 AM
Execute some command of root user
How to give normal user (such as applmgr) on HP-UX to execute some command of root user without change the GID to be identical with root GID ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 01:45 AM
тАО12-29-2010 01:45 AM
Re: Execute some command of root user
You can do it with SUDO and RBAC (Role Based Access Control)utility in HPUX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 01:50 AM
тАО12-29-2010 01:50 AM
Re: Execute some command of root user
You can give me more details.
where i can downlod this tools SUDO and RBAC (for HP-UX 11.23. 11.11), and How i can use it ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 02:08 AM
тАО12-29-2010 02:08 AM
Re: Execute some command of root user
you can go through the below pdf for the configuration of RBAC in detail,
h20338.www2.hp.com/hpux11i/downloads/hpux11i_rbac.pdf
and you can download SUDO package from below link,
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 02:22 AM
тАО12-29-2010 02:22 AM
Re: Execute some command of root user
Once you install it. use visudo command to edit /etc/sudoers file.
Sample of that file
# User alias specification
User_Alias OPERATOR = sachin, petec, backup
# Cmnd alias specification
Cmnd_Alias DUMP = /usr/local/etc/cluster_backitup
# User privilege specification
root ALL=(ALL) ALL
OPERATOR ALL = DUMP
Note: Upercase is necessary.
sudo -l to see what is available for user.
please go through the below thread for SUDO configuration detail which will help you in this regard,
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=102058&admit=109447626+1293617541735+28353475
Best of Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 04:30 AM
тАО12-29-2010 04:30 AM
Re: Execute some command of root user
If you change your UID to be root, you are likely to change your GID to match too.