- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Could exists two users root?
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
10-29-2002 01:18 AM
10-29-2002 01:18 AM
Could exists two users root? How can I create two roots?
Thanks,
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 01:15 AM
10-29-2002 01:15 AM
SolutionYou can't have two users called 'root' but you can have as mny users as you like that have a User Id of 0 (third field of /etc/passwd).
These users are effectively 'root' and can have their own passwords. They can be useful in certain circumstances but are generally frowned upon as security risks.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 01:18 AM
10-29-2002 01:18 AM
Re: Could exists two users root?
This is the root entry in the password file.
Just create another user with uid 0 in the password file so that he has the same privileges as root.
mani::0:3::/mani:/sbin/sh
Edit your passwd file for the same.
I have mentioned a different home-dir for the user (/mani)
Make sure you create a directory as home-dir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 01:24 AM
10-29-2002 01:24 AM
Re: Could exists two users root?
No ! You could have more users with uid 0 but this implicates security risks.
I remember one thread where Bill Hassel explained very well why not to do this.
You could search the froum on this issue.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 01:28 AM
10-29-2002 01:28 AM
Re: Could exists two users root?
Found the thread already !
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x73a5ba808b46d611abda0090277a778c,00.html
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 01:39 AM
10-29-2002 01:39 AM
Re: Could exists two users root?
cp /etc/passwd /etc/passwd.bak