Link to home
Start Free TrialLog in
Avatar of keramati_mm
keramati_mm

asked on

make a root account

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..
Avatar of Gns
Gns

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
ASKER CERTIFIED SOLUTION
Avatar of Gns
Gns

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keramati_mm

ASKER

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