Results 1 to 3 of 3
Hi,
For testing purposes, I've tried adding a second root user using:
useradd -o -u 0 root2
However now, when I do su - I am prompted for the root ...
- 03-17-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 7
Removing the second root...
Hi,
For testing purposes, I've tried adding a second root user using:
useradd -o -u 0 root2
However now, when I do su - I am prompted for the root password but I get into root2 home....
I want to revert to the root home.. without screwing up both root accounts lol
Thanks!
- 03-17-2008 #2
You can use userdel or directly edit /etc/passwd & /etc/shadow with vipw (take care to delete the same account in both). You may need to delete root2's home directory manually.
There's normally not a good reason to be adding a second account with UID 0. If another user requires some root-level privileges, then add him as a sudoer.
- 03-18-2008 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 7
oh well I guess THAT's what I was looking for!

I have no clue on how its done... I'll go search...
*edit* If anyone needs to do the same, very clear & simple here:
How to add a user to the sudoers list | USB Pen Drive Linux


Reply With Quote

