- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User with root user rights
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
тАО09-22-2010 09:19 PM
тАО09-22-2010 09:19 PM
User with root user rights
I want to add new user with the root user rights.
I have OS: HP-UX 11.31.
How can I give the maximum access to the new added user like root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 09:40 PM
тАО09-22-2010 09:40 PM
Re: User with root user rights
you can go with below options to make a user with root user rights.
1. After creating the new user you can modify the /etc/passwd file and change its user id with 0 (zero). After that this user will be root equivalent. when you will login by this user you will get # prompt, just like root user.
2. You can also go with SUDO configuration which will be better secure option than above.
Note: please be sure when you are doing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 09:57 PM
тАО09-22-2010 09:57 PM
Re: User with root user rights
The best approach to give maximum access to the new user with root user right is configure SUDO.By using sudo you can give users rights to perticular administration commands and you exactly know who has the rights to run that commands on the system.
Changin gthe uid to 0 is also work,but think what is the level of security you are providing..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 10:37 PM
тАО09-22-2010 10:37 PM
Re: User with root user rights
In the first case, something like sudo or a passwordless ssh can help you.
In the last case, you can configure role based acces (search for RBAC product) and configure what root privileges you assign to that user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 10:53 PM
тАО09-22-2010 10:53 PM
Re: User with root user rights
sam -r
restricted user can use some root privileges
sudo is good alternative in your case like others stated here:
http://www.gratisoft.us/sudo/sudoers.man.html#description
I am not sure if RBAC is active in 11iv3 (Role Based Account User) but it is an approach to restricting system access to authorized users and it can be used as another alternative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 02:01 AM
тАО09-23-2010 02:01 AM
Re: User with root user rights
is SUDO is available for HP-UX B.11.31 U ia64
Thanks
Jayesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 02:28 AM
тАО09-23-2010 02:28 AM
Re: User with root user rights
sudo is a free software package and you can download it for ia64 from the following site.
http://www.sudo.ws/sudo/download.html
You can use sudo-1.7.4p4.ia64.depot.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 02:31 AM
тАО09-23-2010 02:31 AM
Re: User with root user rights
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 02:51 AM
тАО09-23-2010 02:51 AM
Re: User with root user rights
You can assign points to those who helped to solve your queries.
Here it is how to do...!!
http://forums13.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 03:01 AM
тАО09-23-2010 03:01 AM