Kubuntu Linux has the root
account disabled by default for security purposes. Users are encouraged to use the sudo
command as an alternative whenever root-level priviledges are needed.
Edit the kdmrc file
- Press alt+F2 to call up the Run Command. Type in
/etc/kde4/kdm
to call up thekdm
folder in Konqueror. - When the folder opens, you should see a file called
kdmrc
. Right-click it and selectActions, Edit As Root. You’ll be prompted for the root password (which should be your own password) - The file should open up in a text editor (KWrite on my installation). Broswe for the line
AllowRootLogin=false
and change false to true. Save the file and close it.
Enabling Root Logins (Modifying the Root User Account)
- Press alt+F2 to call up the Run Command. Type in
kuser
to start up the KDE User Manager. - Double-click on the
root
entry to bring up the account properties and uncheck theAccount Disabled checkbox. Click OK to save the changes. - Exit the KDE User Manager.
Why Enable Root Logins?
- I don’t know Linux very well. I can hold my own, but I don’t speak the command-line-lingo like the pros.
- Elements of the GUI in Kubuntu don’t work so well. In particular, the network configuration utility ‘forgets’ the default gateway entry.
- Some graphical tools also have an Administrator Mode button. I found in some instances that this didn’t work. You would type in credentials and it would return you to the same greyed-out screen, indicating that authentication had been rejected. Very frustrating.
- Being fairly unfamiliar with Linux, I didn’t know the command equivalent for these graphical functions, so I couldn’t very well
sudo
them, could I?