You are not logged in.

#1 2009-04-30 01:27:32

cpc
Member
Registered: 2009-04-30
Posts: 42

password problem

I forgot to assign the root password and to add my account to the sudoers in the installation process, how can I fix it?

thanks a lot!

Offline

#2 2009-04-30 02:11:26

normman
Member
Registered: 2009-04-07
Posts: 26

Re: password problem

To set the password, run "passwd root" as root.  I assume you can login as root becuase it has no password.  The wiki has a good article on setting up sudo:
http://wiki.archlinux.org/index.php/Sudo

Last edited by normman (2009-04-30 02:12:18)

Offline

#3 2009-04-30 02:13:42

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: password problem

If all else fails, boot from the live CD, chroot into your system, and do your repairs from there tongue


.:[My Blog] || [My GitHub]:.

Offline

#4 2009-04-30 02:42:21

cpc
Member
Registered: 2009-04-30
Posts: 42

Re: password problem

normman wrote:

...I assume you can login as root becuase it has no password...

No, I can not login as root either, although it has no password.

However, the problem is solved by boot up in Single User Mode.

Offline

Board footer

Powered by FluxBB