- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reg : user with root privileges
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
тАО11-23-2010 11:39 PM
тАО11-23-2010 11:39 PM
For audit purpose i need to create a user with root privileges.
Please let me know how can i complete this activity!
OS version: HP-UX B.11.23 U ia64 unlimited-user license server.
Regards,
Mastan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 11:47 PM
тАО11-23-2010 11:47 PM
Re: Reg : user with root privileges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 12:33 AM
тАО11-24-2010 12:33 AM
SolutionThe simplest way is to create a user with duplicate ID=0. This is however not advised because it posses security concerns.
"useradd -u 0 -g 1 -d /home/root2 -s /bin/sh -c "duplicate root A/C" root2"
Installing SUDO is a great option. Refer to the official site at:
http://www.gratisoft.us/sudo/intro.html
Equally, the HP-UX Role-Based Access Control (RBAC) Feature is a good alternative. More detail about RBAC can be got at:
Overview:
https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=AccessControl
Installation:
https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=AccessControl
Other Manuals:
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4164662
Regards,
Emmanuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 12:48 AM
тАО11-24-2010 12:48 AM
Re: Reg : user with root privileges
Thank you very much for your reply.
Regards,
Mastan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 03:21 AM
тАО11-24-2010 03:21 AM
Re: Reg : user with root privileges
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1457211
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 07:32 AM
тАО11-24-2010 07:32 AM
Re: Reg : user with root privileges
better install sudo and not to create userid with duplicate id.
check for swlist |grep -i sudo
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 08:51 PM
тАО11-24-2010 08:51 PM
Re: Reg : user with root privileges
Adding to emmanuel's post , you will have to add an -o option as well for the duplicate UID.However, HP does not reccommend it at all. The standard approach would be RBAC. However, configuration is not simple as you will have to know the linking of the various files. Depends on the effort you want to put to the task and the effectiveness.
Regards