make a root account

Posted on 2003-03-25
Medium Priority
Last Modified: 2010-04-20
I want to know how can i make a root account without the current root password and i don't want the current root to be damaged...
thank all of you..
Question by:keramati_mm
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 20

Expert Comment

ID: 8202085
What signifies root is two things:
1. The UID and GID is 0
2. Root is allowed anything with minimal checks

Setting up a second "root" with UID 0 will have effects on the current root.
You can "simulate" root priviledges with sudo... just add a line like
<username> ALL=(ALL) ALL
and that user will be "as good as root" through the use of sudo (sudo fdisk /dev/sdb6 ... or whatever) as long as the user supplies valid credentials (his/her own password).

-- Glenn
LVL 20

Accepted Solution

Gns earned 100 total points
ID: 8202090
"just add a line like" should have been "just add a line like this to /etc/sudoers"...

-- Glenn (a.k.a. Le Grand Typo)

Author Comment

ID: 8202815
i gave you this points only because you are a child.
don't cry any more...

Featured Post

Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question