You are not logged in.

#1 2005-10-11 06:58:13

timtux
Member
From: Gävle, Sweden
Registered: 2005-10-04
Posts: 178
Website

How to get an new root account?

Hello everyone!

Ive lost my root account (delete it), you dont wanna know how i did.
But, now i want it back, so how to? smile

I cant do su or sudo!
adduser prompts for an passoword, ive tried every single i have whitout success. (wrong spell)


http://timtux.net/ - my personal blog about almost everything

Offline

#2 2005-10-11 07:27:22

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: How to get an new root account?

You probably need to use a live CD and edit the /etc/passwd file on your HD by hand as adduser starts numbering users at 1000 or so.


v/r
Suds

Offline

#3 2005-10-11 10:21:21

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,442

Re: How to get an new root account?

timtux wrote:

... you dont wanna know how i did.

but ... I want to ...  tongue


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#4 2005-10-11 13:14:00

timtux
Member
From: Gävle, Sweden
Registered: 2005-10-04
Posts: 178
Website

Re: How to get an new root account?

Soloved now, just booted up whit arch cd then mounted the device.
Edited the /etc/passwd and /etc/shadow


http://timtux.net/ - my personal blog about almost everything

Offline

Board footer

Powered by FluxBB