Allow KDE root login

| 12 Comments | No TrackBacks
A little note if you want to be able to log in as root from the KDE login screen:

To enable login as root in KDE open /usr/local/share/config/kdm/kdmrc and change the line
AllowRootLogin=false
to
AllowRootLogin=true

There, that's easy enough, right?

No TrackBacks

TrackBack URL: http://linux.amazingdev.com/cgi-bin/mt/mt-tb.cgi/232

12 Comments

You'd think, but not if you don't HAVE a /usr/local/share/config/kdm/kdmrc! (/usr/local/share is as far as I could get).

I wonder if you have KDE, then. Maybe you are running GNOME?

mine is in
/usr/kde/3.5/share/config/kdm/kdmrc

I wonder if it is due to how it was installed? Maybe there's some kind of difference between the port and the package? Or maybe if it is installed via something downloaded from the KDE site itself? Mine was in /usr/share, but then again, it is pre-installed by PC-BSD.

thanks you:

sometime is usefull to do:
# find / -name "kdmrc" -print


Well, find will work, but man it's apt to take a long time!-) 'locate' is a better choice, assuming you've built the database for it (which happens weekly in the normal case).

[code]# find / -name "kdmrc" -print[/code]

^ That did the trick. I found mine located here:
/opt/kde/share/config/kdm

Running VectorLinux 5.1.1 SOHO (Slackware 10.1)

Thanks. :)

on debian etch it is in /etc/kd3/kdm/kdmrc

This, saved me alot. I was setting up a bsd server and i needed root login.

Thank you so much.

/Chuks

This find command work a lot more like a windows user wouls expect.

Type the following

This will pace you at the very bottom or top however you think about it level of your drive structure.

cd /

Then type this to search your entire drive

find ./ -iname kdmrc

Thanks Lindylex

This find command work a lot more like a windows user wouls expect.

Type the following

This will place you at the very bottom or top however you think about it level of your drive structure.

cd /

Then type this to search your entire drive

find ./ -iname kdmrc

Thanks Lindylex

To enable login as root in KDE open /etc/kde4/kdm/kdmrc and change the line
AllowRootLogin=false
to
AllowRootLogin=true


but it makes a bit problem .... u cant edit kdmrc file with normal account so u need to go Konsole and make root login with main account password(if root passwd is not changed)

first Copy /etc/kde4/kdm/kdmrc and paste in $home
edit this file here as it mentioned above.

now replace this file to the /etc/kde4/kdm/kdmrc in root login by Konsole

open Konsole nd write:

@ubantu:~$ sudo bash
#now Enter Passwd
root@ubantu:~#
# now u have all rights(read nd write)//it is not safe for beginners

root@ubantu:~# cp //kdmrc

*for kdm version 3 open file /etc/kde3/kdm/

if it works plz responce..

Leave a comment

About this Entry

This page contains a single entry by Jonathan published on February 2, 2006 3:59 PM.

So, you want to host a blog? was the previous entry in this blog.

Emulator schmemulators is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.