You are not logged in.

#1 2005-11-03 10:22:44

Registered: 2005-09-01
Posts: 78

A couple of superuser-related queries

Ok, first off - if you forget your root password, how would you go about resolving the problem? First of all, how do you enter single-user mode in arch using a boot cd, and secondly, how do you erase the root password in /etc/passwd (since the field is already empty...).

Secondly, how do you go about adding another superuser to the system? I assume it just involves adding the new user to wheel, and setting a UID of < 500?


#2 2005-11-03 17:06:16

Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986

Re: A couple of superuser-related queries

I think password recovery is in the wiki, if its not it should be. Boot a live CD, chroot into the original system, run passwd, done.

I don't think the wheel method works, we don't set group permissions to wheel for most Arch stuff. Its much smarter to do this sort of thing using sudo.



#3 2005-11-03 20:30:49

Registered: 2005-07-19
Posts: 271

Re: A couple of superuser-related queries

The default /etc/sudoers contains a line that gives the members of the wheel group access to all commands, all you need to do is to uncomment that line and add the user to wheel.


Board footer

Powered by FluxBB