LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   root login not allowed (https://www.linuxquestions.org/questions/linux-software-2/root-login-not-allowed-361011/)

allelopath 09-07-2005 07:58 AM

root login not allowed
 
I just upgraded to a new version of KDE
When i try to login as root, i get a message saying that root login is not allowed.
I can log on as a regular user.
what is the problem?

KDE 3.4.2 level b

sarajevo 09-07-2005 08:03 AM

Root is not allowed for security reasons in kde screen.
of course you can change it but it is not recomended, it is security issue.

check
http://www.openna.com/
and download fantastic book about security.

Using su you can login as root....




regards

sarajevo 09-07-2005 08:11 AM

correct url, sorry

http://www.openna.com/products/books.php



regards

allelopath 09-07-2005 08:47 AM

I am not concerned about the security.

I do not want to su from a regular user.
I want to logon to root directly
All other versions of KDE I have had allowed this (by default)
So there must be a way.

allelopath 09-07-2005 08:56 AM

The document you pointed to (thanks) says:

The /etc/securetty file
The /etc/securetty file allows you to specify which TTY and VC (virtual console) devices the 'root' user is allowed to login on. The /etc/securetty file is read by the login probram (usually /bin/login). Its format is a list of teh tty and vc devices allowed, and for all others that are commented out or do not appear ni this file, root login is disallowed.

then is gives a list of devices

vc/1 tty1
vc/2 tty2
and so on..

So does one enable root login for KDE given this?
Is KDE a specific tty*?

homey 09-07-2005 11:03 AM

Edit /etc/kde/kdm/kdmrc and look for two lines which are like this:
AllowRootLogin=false

Change that to =true

allelopath 09-07-2005 04:34 PM

thanks homey, that did it
for the record, its in /opt/kde3/share/config/kdm


All times are GMT -5. The time now is 04:16 AM.