?
Solved

make a root account

Posted on 2003-03-25
3
Medium Priority
?
246 Views
Last Modified: 2010-04-20
hi..
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..
0
Comment
Question by:keramati_mm
[X]
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
3 Comments
 
LVL 20

Expert Comment

by:Gns
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
0
 
LVL 20

Accepted Solution

by:
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)
0
 

Author Comment

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

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