- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- giving user administrator priviledges without chan...
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
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-06-2001 07:42 AM
04-06-2001 07:42 AM
I have a user that I want to give administrator right to so that they can access most files and run programs like SAM, shutdown and frecover without having to su to root. I know that I can change the UID to root, but I would prefer not to do this due to concerns that I have seen about having multiple users with the root ID. Do I just add the user to every group, or is there some other command that will give access rights? How does this work for utilities like SAM or commands? any help would be greatly appreciated. Thanks.
Mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:49 AM
04-06-2001 07:49 AM
Re: giving user administrator priviledges without changing UID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:51 AM
04-06-2001 07:51 AM
Re: giving user administrator priviledges without changing UID
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:57 AM
04-06-2001 07:57 AM
Re: giving user administrator priviledges without changing UID
Have a look at sudo ( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/ )
With this tool, a "normal user" can use command as root.
Very useful
Regards,
Patrice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 10:53 AM
04-06-2001 10:53 AM
Re: giving user administrator priviledges without changing UID
To grant SAM access to other non-root users, you can also use restricted sam ('sam -r' to set it up) to grant access to certain areas of sam to certain users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 12:24 PM
04-06-2001 12:24 PM
Re: giving user administrator priviledges without changing UID
This allows you to give access to a user to run a restricted set of SAM utilities.
To allow the user to shutdown the box, you could simply create the /etc/shutdown.allow file, but remember to include root in there otherise root is not allowed to shutdown the system :-}