- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Alternate 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
тАО03-27-2007 05:15 PM
тАО03-27-2007 05:15 PM
TY
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 05:20 PM
тАО03-27-2007 05:20 PM
SolutionRemoving or renaming the actual 'root' account can be done in theory, but you shouldn't: a bunch of scripts, tools and software assume the existence of the root account.
In other words: unless you have really (really!) good reasons to do so, save yourself a bunch of trouble and leave your root account like it is.
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 05:21 PM
тАО03-27-2007 05:21 PM
Re: Alternate root user
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
тАО03-27-2007 06:14 PM
тАО03-27-2007 06:14 PM
Re: Alternate root user
u can hv alternate root user that u can create with useradd command with UID 0 and have -o option for duplicate UID with this command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 03:35 PM
тАО03-28-2007 03:35 PM
Re: Alternate root user
Make UID of the user as 0
better way is to install sudo and use that for your use...
I am not sure what requirement makes you think about the another root user... there are previous threads on this also.. please have a look at them as this has been already discussed many times..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 03:48 PM
тАО03-28-2007 03:48 PM
Re: Alternate root user
In fact, in certain industries, performing this action is grounds for dismissal, regardless of the intent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 04:30 PM
тАО03-28-2007 04:30 PM
Re: Alternate root user
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=943392
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2007 04:43 PM
тАО03-28-2007 04:43 PM
Re: Alternate root user
Benefits: 0 - it is state-of-the-art stupid.
Risks: It will be impossible to determine which of these users did what because all tracking is done via UID rather than login.
You just flunked your security audit.
If you need to allow users to perform tasks which normally require superuser permission then look for a package called sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2007 03:15 PM
тАО03-31-2007 03:15 PM
Re: Alternate root user
Its right, you can have several user with UID 0 as root user for this you just have to edit passwd file ,but problem is that
if anyone of them will change the root password of all root user.. no one can login except him( possible threat).
If you want to give some root power to any user .. you can try retricted SAM or
edit sudoer file and give permission for some commands also.
Regards
Ashish Parashar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2007 06:14 PM
тАО03-31-2007 06:14 PM
Re: Alternate root user
You can create a alternate root user by creating an user with uid 0.
But, If you are trying to controll access or restrict access better to use sudo ,
Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments.
The current version is sudo 1.6.8p12, released on November 8, 2005.
Check this link:
http://www.gratisoft.us/sudo/
Cheers,
Raj.