LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   KDE asking for root password (https://www.linuxquestions.org/questions/ubuntu-63/kde-asking-for-root-password-362764/)

Micro420 09-12-2005 04:47 PM

KDE asking for root password
 
How do I get KDE in Kubuntu to recognize my root password? I need to make some network settings change but it won't let me until I give it my root password. I'm sure you guys have seen this problems numerous times on this Ubuntu forum (I'm new), but if many people are asking this, then this must be a n00b problem. I hate this sudo crap.

I have tried creating a root password in the recovery console during bootup. It doesn't work in KDE as it keeps saying it's the wrong password.

I have tried doing
usermod -G admin micro420
KDE still does not recognize my root password.

I tried logging in as user: root and KDE won't allow me to log in as root.

When I go in the console and type 'su' and my rootpassword, everything works fine. Why does KDE not recognize my root password? And who's genius idea was it to NOT be able to use the root account in KDE with Kubuntu? I'm sure there are some plus sides to avoid using the root account (modifying system files, deleting / file, etc...), but it's really annoying to me.

jolly1701 09-12-2005 09:03 PM

have u tried
kdesu
then enter your password for the user account ...

Brian1 09-12-2005 09:18 PM

You need to edit your kdmrc file as root of course and change the following
AllowRootLogin=false
to
AllowRootLogin=true
There are two places in it that it nneds to be done.

Brian1

Micro420 09-13-2005 12:36 AM

Quote:

Originally posted by Brian1
You need to edit your kdmrc file as root of course and change the following
AllowRootLogin=false
to
AllowRootLogin=true
There are two places in it that it nneds to be done.

Brian1

1) I'm not a Linux expert so editing the kdmrc (whatever the heck that is) is not obvious to me.

2) and where am I supposed to find this kdmrc file and where are these two places where I must change them??

You should know this, of course... :p

john2 09-13-2005 07:52 AM

I haven't used Ubuntu lately, but

Code:

sudo passwd root
should set and enable the root password.

See http://www.ubuntuguide.org for more info.

snarkout 09-13-2005 08:10 AM

"where am I supposed to find this kdmrc file...?"

Code:

sudo updatedb
Code:

locate kdmrc

Brian1 09-13-2005 05:50 PM

Command lines to try.
locate kdmrc

Or in the Konqueror use the Tools > Find File search option in it. Note to help you out better In the Start Menu > System Tools there is one called File Manager - super user mode. This opens a konqueror window with root priveledges.

Brian1

jolly1701 09-16-2005 10:19 AM

its in
/etc/kde3/kdm

then open kdmrc in a text editor via a konsole using sudo

command
kdesu kate
browse to the file open it then edit ...

mtgreen 09-16-2005 08:24 PM

i just solved a similar problem by enabling the root account.
really simple really - all right from the default user gui,
unfortunately though - i'm back in xp at the moment and can't remember the exact details,
i'll give it a go though,
at the top of the screen, in the default hoary hog hedge menu,
select the rightmost menu right before the icons,
drill around till you find the user accounts,
keep on at it until you find the root account,
i think you might want a checkbox that says something like show all users/groups,
and then after you've got the root account,
enter a password for it, logoff, logon as root w/your new password
and that is pretty much what worked for me...

and, also - under preferences you have to enable root login for the ubuntu login screen


All times are GMT -5. The time now is 10:00 PM.