Kubuntu Linux by default doesn't let you to login as root on your graphical login terminal.
Kubuntu has its own security mechanism that does not allow root login so that you don't mess up your system, because when you are root, you will have all the privileges to destroy your Linux box.
Although in Ubuntu 9.10 root login is enabled, but not in Kubuntu (9.10). So to enable it, first you need to be root.
We will see soon why is it so.
- Open Terminal (Konsole).
- Run "Sudo -i". When prompted for a password, enter your password.
- Now being a superuser, you need to edit /etc/kde4/kdm/kdmrc file. This file has the ownership of root, and the write permission applies only to owner(rw-r--r--). That's why you need to be working as root in order to edit this file.
- Now you can use vi editor (text based) if you are comfortable with it:
vi /etc/kde6/kdm/kdmrc.
But if you are novice to linux, you can use kate (graphical editor):
kate /etc/kde6/kdm/kdmrc.
- In this file, look for the section "X-*-Core". Here the value of "AllowRootLogin" is 'false'. Change it to 'true'.
- Here you go...
Save the file and now you can login as root...:-)


No comments:
Post a Comment