- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to create a account with root permission i...
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
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
тАО06-15-2009 07:56 AM
тАО06-15-2009 07:56 AM
I am using redhat and suse.
Can we create a account with root permission in linux.?
so that i want to have two root users one is root and another one is new one.
is it possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 08:18 AM
тАО06-15-2009 08:18 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 08:32 AM
тАО06-15-2009 08:32 AM
Re: How to create a account with root permission in linux.
I am positive, it would not pass Sarbanes Oxley.
Use sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 09:04 AM
тАО06-15-2009 09:04 AM
Re: How to create a account with root permission in linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 09:56 AM
тАО06-15-2009 09:56 AM
Re: How to create a account with root permission in linux.
The only account with root permissions is root. user number 1.
Where I last worked we had rootp and rootd and such but they were simply user profiles for different admins who we wanted to grant root privileges to.
If you want to grant root powers to a non admin, you should as noted before me use sudo.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 01:07 PM
тАО06-15-2009 01:07 PM
Re: How to create a account with root permission in linux.
As noted, _ANY_ account with a UID=0 is a root account.
This is not only dangerous from a security perspective, but can be catastrophic for you or another administrator who one day does something like:
# find / -type f -user senthil -exec rm {} +
...thinking that he/she will cleanup after the user who is long gone...
If the account named "sehthil" had been assigned a UID=0 the affect is to have removed files owned by _root_ since a UID=0 is synonymous with the root account.
Do not create multiple root accounts!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 07:38 PM
тАО06-15-2009 07:38 PM
Re: How to create a account with root permission in linux.
Im also agree with the above post.
My first question would be,
If there is another account which has same system wide access other than root;then its another root account using another name.
Since this doesn't add up any security its very same as sharing root password with another user. ether actual root or that other account run "rm -Rf /var" it doesn't make any difference and the system is gone...!
If any one other than root want to execute commands like root sudo is the recommended way and also you can configure group wheel to assign same rights for a group
By using sudo you can give users rights to commands and you exactly know who has the rights to run what commands on the system and what would be the effect.
Good Luck...!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 10:07 PM
тАО06-15-2009 10:07 PM
Re: How to create a account with root permission in linux.
as previously mentioned, use sudo to allow other users to execute commands with root rights.
read all this for an insight on how to use sudo and how it works;
http://www.aplawrence.com/Basics/sudo.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 10:39 PM
тАО06-15-2009 10:39 PM
Re: How to create a account with root permission in linux.
Create user using UID/GID=0 option for a root access....
But as best practice only one root user must exist.
SUDO is the best option for your requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:03 PM
тАО06-16-2009 08:03 PM
Re: How to create a account with root permission in linux.
is it possible ?
Yes it is, to convert a normal user into root user just change the uid 0 and gid 0 see the example
[root@rspc521 suraj]# grep suraj /etc/passwd
suraj:x:0:0::/home/suraj:/bin/bash
Suraj