Upgrade from 12.1 to 12.2 - cannot login as root from main login box

I am fairly new to Linux/Opensuse - have a question that I cannot seem to find the answer to. I am sure there is an answer but I cannot seem to come up with a search that gives that answer. We upgraded from 12.1 to 12.2 (KDE) and now we get a login box with a box to the left listing all the users except root and we cannot login as root from that point. I the past we could login as root from that main dialogue. Sure we can login as less privileged user and then open a Konsole and su root - but shouldn’t we be able to make that decision on our own. I understand it is less secure but I would like to know how to get the ability to login initially as root back… Any suggestions or explanations? Thank you in advance for your help.

When root was there in the past, it certainly was a bug. Especialy when you mean a GUI login. You should never login as root in the GUI. There are a few (very few cases) where you may (have to) log in as root in the CLI.

On 2012-11-01 19:36, jpeteet wrote:
> Any suggestions or explanations? Thank you in
> advance for your help.

I don’t use 12.2 so I can’t verify. One thing is to try type “root” as
user. If not, I would check the variables in “/etc/sysconfig/*”
mentioning root login. If not, it could be kdmrc file or similar.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

I understand that it is a ridiculous security concern, I was just asking why I would not be allowed to do it if I wanted. I did attempt to login as root and it simply comes back to the prompt. Thank you both for your reply.

On 11/02/2012 04:36 PM, jpeteet wrote:
> I understand that it is a ridiculous security concern

it is not ridiculous, and it is not only a security concern, its also a
really fine way to screw your system…

you should never log into KDE/GNOME/LXDE/Xfce or any other *nix-like
system’s graphical user interface desktop environment as root…

doing so 1) opens you up to several different security problems if you
(for example) browse the net, 2) too many, far too easy ways to damage
your system no matter how careful your actions (for example: well
documented cases of unintended change of ownership of ~/.ICEauthority
and ~/.Xauthority from user to root sometimes occurs), 3) anyway logging
into KDE/etc as root is never required to do any and all
administrative duties, 4) and, not even logging in as root just to see
if it works as root is useful, because the “yes” or “no” learned is
almost always totally useless in finding the problem giving the
symptoms…while, logging into the GUI as root to learn the yes/no could
cause the next adverse symptom encountered.

so, always log in as yourself, and “become root” by using a root powered
application (like YaST, File Manager Superuser Mode) or using “su -”,
sudo, kdesu, or gnomesu in a terminal to launch whatever tool is needed
(like Kwrite to edit a config file)…read more on all that here:

http://tinyurl.com/593e4c
http://tinyurl.com/ydbwssh
http://tinyurl.com/4nsaqst
http://tinyurl.com/665h5ek
http://www.linfo.org/root.html

additionally: after logging into KDE/Gnome/etc as root, if you
experience problems (for example, with uncommanded file ownership and
permissions changes) and if you can provide us with details of what you
were doing while you were logged in as root, that would help us identify
if there’s a bug that needs to be fixed…thanks for your help…


dd http://tinyurl.com/DD-Caveat

On 2012-11-02 16:36, jpeteet wrote:
>
> I understand that it is a ridiculous security concern,

No, it is a serious security concern.

> I was just asking
> why I would not be allowed to do it if I wanted. I did attempt to login
> as root and it simply comes back to the prompt. Thank you both for your
> reply.

View this
thread:

You have to know what to change in order to be allowed to do it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

the option to login as root should not have been listed for you in KDM in Opensuse 12.1.
If it was there - then there was something wrong with your install.

If for some reason you must login as root then simply type root into the username field and your root password in the password field.
It it does not load, again - there is something wrong with your install.