LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-12-2005, 05:47 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
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.

Last edited by Micro420; 09-12-2005 at 05:49 PM.
 
Old 09-12-2005, 10:03 PM   #2
jolly1701
Member
 
Registered: Nov 2003
Location: England, UK.
Distribution: SuSE 10
Posts: 126

Rep: Reputation: 15
have u tried
kdesu
then enter your password for the user account ...
 
Old 09-12-2005, 10:18 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 09-13-2005, 01:36 AM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
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...
 
Old 09-13-2005, 08:52 AM   #5
john2
Member
 
Registered: Aug 2004
Location: Wales
Distribution: Kubuntu, Mageia, OpenSUSE
Posts: 100

Rep: Reputation: 29
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.

Last edited by john2; 09-13-2005 at 09:00 AM.
 
Old 09-13-2005, 09:10 AM   #6
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
"where am I supposed to find this kdmrc file...?"

Code:
sudo updatedb
Code:
locate kdmrc
 
Old 09-13-2005, 06:50 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 09-16-2005, 11:19 AM   #8
jolly1701
Member
 
Registered: Nov 2003
Location: England, UK.
Distribution: SuSE 10
Posts: 126

Rep: Reputation: 15
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 ...
 
Old 09-16-2005, 09:24 PM   #9
mtgreen
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
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

Last edited by mtgreen; 09-17-2005 at 12:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 07:51 AM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 02:29 AM
why wont kde recobnise my root password? wisdom Linux - Software 1 02-18-2004 04:10 PM
Root password not recognized (KDE). . . alpha_male Mandriva 1 09-13-2003 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration