You are not logged in.

#1 2009-08-21 09:39:37

ForeverNoob
Member
Registered: 2008-07-18
Posts: 14

Empty root password [Solved]

Hi Folks,

I've installed arch+gnome but probably forgot to set root password and now I can only log as a regular user. Is there a way around this?

TIA

Last edited by ForeverNoob (2009-08-21 13:36:16)

Offline

#2 2009-08-21 10:08:23

10wattmindtrip
Member
Registered: 2009-06-18
Posts: 28

Re: Empty root password [Solved]

I would just reinstall to save headaches. If it's just a clean install it's no biggy.


which would you choose: A god that never answers you or a society that embraces you?

Offline

#3 2009-08-21 10:11:03

DrTankMC
Member
From: Faifield County
Registered: 2009-03-18
Posts: 77

Re: Empty root password [Solved]

Shouldn't you be able to log into a terminal as root and leave the password blank as it is when you first start an installation? If so you can do a "passwd root"  (i think).


Long live the Organization for the Organized!!!

Ich möchte die Tomatensuppe!

Offline

#4 2009-08-21 10:18:21

krolden
Member
Registered: 2009-06-30
Posts: 12

Re: Empty root password [Solved]

boot from a liveCD, mount the appropriate drives, chroot into it and set root passwd

Offline

#5 2009-08-21 10:21:40

plurt
Member
Registered: 2008-10-16
Posts: 88

Re: Empty root password [Solved]

http://wiki.archlinux.org/index.php/Password_recovery would be the appropriate wiki page to solve your issue


When everything's coming your way, you're in the wrong lane I say.
FAQ / Beginners Guide / The Arch Way

Offline

#6 2009-08-21 10:24:22

ForeverNoob
Member
Registered: 2008-07-18
Posts: 14

Re: Empty root password [Solved]

DrTankMC wrote:

Shouldn't you be able to log into a terminal as root and leave the password blank as it is when you first start an installation? If so you can do a "passwd root"  (i think).

Tried to log into terminal as root, but it wouldn't let me. "passwd root" says "You may not view or modify password information for root".

TY

Offline

#7 2009-08-21 10:26:10

ForeverNoob
Member
Registered: 2008-07-18
Posts: 14

Re: Empty root password [Solved]

10wattmindtrip wrote:

I would just reinstall to save headaches. If it's just a clean install it's no biggy.

Will do that if everything else fails. It's only a clean install on a vmware machine, so nothing will be lost (except for a few hours of packages downloaded).

TY

Offline

#8 2009-08-21 10:30:57

DrTankMC
Member
From: Faifield County
Registered: 2009-03-18
Posts: 77

Re: Empty root password [Solved]

what about "sudo passwd root"?


Long live the Organization for the Organized!!!

Ich möchte die Tomatensuppe!

Offline

#9 2009-08-21 12:06:33

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Empty root password [Solved]

boot in init 1
enter
passwd
provide new root password


hope this will help

Offline

#10 2009-08-21 13:35:53

ForeverNoob
Member
Registered: 2008-07-18
Posts: 14

Re: Empty root password [Solved]

broch wrote:

boot in init 1
enter
passwd
provide new root password


hope this will help

Great! that worked. Thanks a lot.

Offline

Board footer

Powered by FluxBB