You are not logged in.

#1 2006-12-01 21:16:16

Bernie
Member
From: Oldebroek, Gelderland, The Ned
Registered: 2006-11-09
Posts: 40

root password

hiya.

I haven't setup a root password but I need to enter one during login at gnome..... what can I do?


Life is what you make of it.....

Offline

#2 2006-12-01 21:27:26

vredfreak
Member
Registered: 2004-11-20
Posts: 66

Re: root password

You can do a console login, or just log in to a shell as root.  Then it's just "passwd" without the quotes.


Hi.  I'm a sig.  What are you?

Offline

#3 2006-12-01 21:35:11

Bernie
Member
From: Oldebroek, Gelderland, The Ned
Registered: 2006-11-09
Posts: 40

Re: root password

vredfreak wrote:

You can do a console login, or just log in to a shell as root.  Then it's just "passwd" without the quotes.

euh.... :oops: I can't find it :oops: how do I do a console login (or shell login)?

I see a screen with the gnome sign at the left side... abough that there are 4 buttons: Session, Language, actions, theme (forgive any typo's. I need to translate them from Dutch...)


Life is what you make of it.....

Offline

#4 2006-12-01 21:35:34

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: root password

The account is locked, since you haven't given it a password.

FWIW, you really shouldn't do day-to-day desktop stuff as root... If you don't want to bother with too much password stuff, try setting up one non-administrator account and using sudo. See here, and here if you wish to disable sudo's password verification prompt - the latter is not very secure but better than running as root.

Offline

#5 2006-12-01 21:39:11

Bernie
Member
From: Oldebroek, Gelderland, The Ned
Registered: 2006-11-09
Posts: 40

Re: root password

Gullible Jones wrote:

The account is locked, since you haven't given it a password.

FWIW, you really shouldn't do day-to-day desktop stuff as root... If you don't want to bother with too much password stuff, try setting up one non-administrator account and using sudo. See here, and here if you wish to disable sudo's password verification prompt - the latter is not very secure but better than running as root.

I need to log in as root to install XAMPP webserver....


Life is what you make of it.....

Offline

#6 2006-12-01 21:49:19

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: root password

Wait a minute, are you using Arch or another distro? Arch defaults to console login...

If you are running Arch, comment out "gdm" in the DAEMONS array in /etc/rc.conf. If it's not in the DAEMONS array then change this line in /etc/inittab:

id:5:initdefault:

to this:

id:3:initdefault:

Offline

#7 2006-12-01 21:59:53

Bernie
Member
From: Oldebroek, Gelderland, The Ned
Registered: 2006-11-09
Posts: 40

Re: root password

I do use arch linux.

when I try to save rc.conf using kde or gnome I get the error that I don;t have the privilages to do so. (I'm using the username of my sister at the moment)


Life is what you make of it.....

Offline

#8 2006-12-02 00:08:11

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: root password

CTRL+ALT+F1 to bring yourself to console.  IF you haven't set up your root password, it's blank - login as 'root' with no password.  Then change it with 'passwd'

Offline

#9 2006-12-07 16:48:11

jason
Member
From: /dev/null
Registered: 2003-01-13
Posts: 102

Re: root password

If you didn't setup a root password, open a term and type su, you should get dropped into a root shell.

You might be interested in sudo if you're trying to login as root often.

http://wiki.archlinux.org/index.php/Sudo

Also, installing something similar to XAMPP by installing the parts of XAMPP, such as Apache, MySQL, PHP, Perl, etc very easily.  Check out the wiki.

Please please please secure your XAMPP, don't leave default passwords on or no password.  Your machine will get hacked.

Offline

Board footer

Powered by FluxBB