- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECU...
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
Forums
Discussions
Discussions
Discussions
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
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
04-20-2006 01:25 AM
04-20-2006 01:25 AM
HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
I need to assign certain users in HP-UNIX 11.23 to execute privileged commands like ROOT user, example to shutdown the system.
How can I set it in the system?
regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 01:33 AM
04-20-2006 01:33 AM
Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
To allow someone to use the shutdown command you can add their user id to the /etc/shutdown.allow file.
If you need to allow them to do other root-type commands, then your best bet is to install sudo.
http://www.courtesan.com/sudo
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 10:56 PM
04-20-2006 10:56 PM
Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 11:34 PM
04-20-2006 11:34 PM
Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=AccessControl and it's free.
HP-UX Role-based Access Control (RBAC) is an alternative to the traditional "all-or-nothing" root user model, which grants permissions to the root user for all operations, and denies permissions to non-root users for certain operations. HP-UX RBAC allows you to distribute administrative responsibilities by creating roles with appropriate authorizations and assigning them to non-root users and groups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 11:36 PM
04-20-2006 11:36 PM
Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
sudo is the best way to achive this and is also available on Internet Express media received alongwith software updates or system.
Allthough shutdown permission can also be allowed to a normal user by entering his username in /etc/shudown.allow command.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 12:15 AM
04-21-2006 12:15 AM
Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
I edited the /etc/shutdown.allow file by adding one user.
hen I tried to shut down the system it still complain that the user has no rights to shut down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 12:20 AM
04-21-2006 12:20 AM
Re: HOW TO SET PERMISSION FOR NORMAL USER TO EXECUTE PRIVILEGED COMMANDS
Entriies in the '/etc/shutdown.allow' file must specify the hostname and the username, as for example:
mysystem me
See the manpages for 'shutdown(1M)' for more information.
Regards!
...JRF...