Page 1 of 5 123 ... LastLast
Results 1 to 10 of 49

Thread: graphical root login no longer allowed after update from KDE 4.5.0 to KDE 4.5.1

Hybrid View

  1. #1

    Default graphical root login no longer allowed after update from KDE 4.5.0 to KDE 4.5.1

    Hello everybody,

    after updating my KDE 4.5.0 to KDE 4.5.1 (on openSUSE 11.3) the KDM no longer allows to login graphically as root. But to login as user and doing administrative stuff via kdesu/su/sudo + root password is possible. I know that it is a security risk to fully login as root but sometimes it more convient to login once instead of starting every single action with su etc + password. I searched in Yast and also in the KDE systemsettings for an option to switch off this behaviour but I didn`t find any. Via Google I font the hint to set the variable AllowRootLogin=false to AllowRootLogin=true in the file kdmrc. Since I didn't know which kdmrc is the right one, I changed the variable in all versions I found:

    /usr/share/kde4/config/kdm/kdmrc
    /usr/share/kde4/config/kdm/kdmrc.rpmnew
    /var/adm/kdm/kdmrc.sysconfig

    Nevertheless these changes are ignored and in /var/adm/kdm/kdmrc.sysconfig AllowRootLogin=true is automatically set back to AllowRootLogin=false.

    What do I have to get back the old behaviour?

    Thanks in advance
    Jrn Behre

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    jbehre wrote:
    > I know that it is a security risk to fully login as root


    it is more than just a security risk, you should never log into
    KDE/Gnome/XFCE or any other *nix-like graphical user interface desktop
    environment as root..

    doing so 1) opens you up to several different security problems, 2)
    too many too easy ways to damage your system no matter how careful
    your actions (example: just browsing in your home directory while
    logged into KDE/Gnome/etc as root can lock you out later as yourself
    due to permissions damage), 3) and, anyway logging into KDE/etc as
    root is *never* required to do any and all administrative duties..

    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://en.opensuse.org/SDB:Login_as_root
    http://docs.kde.org/stable/en/kdebas...uide/root.html
    http://tinyurl.com/ydbwssh
    http://tinyurl.com/6ry6yd

    > but sometimes it more convient to login once instead of starting every
    > single action with su etc + password.


    yes, there are lots of things in life which are more convenient if
    done the wrong, more dangerous and/or less secure way..

    like, it is easier to walk across the railroad tracks than to use the
    pedestrian bridge over (or tunnel under) them....but !!

    my opinion is: you are lucky that since the update you can no longer
    easily do it wrong.

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,964

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    I second DenverD, but I will use less words on it (he has his way of telling things and I have mine).

    It is unneeded and stupid to log in as root. Triple so in a GUI. The first link in DenverD's post tells you how to do things as root.
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    hcvv wrote:
    > (he has his way of telling things and I have mine).


    heh! i'm afraid to use the word "stupid" as most already think i'm too
    gruff....

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  5. #5

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    On all my former linux installations it was working to login as root and i crashed NONE of them by doing so!!
    And to switch off this feature does NOT prevent me for killing my system. IF I want to do this, I can still login as user, open shell type in su + root password, and then rm -rf /
    and everything would be dead !!
    But since I'm a free man, I'm also free to do stupid things (IF I want to).
    And therefore I want to have back the possibility to run KDE as root, independent of what security risk that represents.
    If you want to remove everthing from this planet that can be misused, nothing would be left.
    During the update from KDE 4.5.0 to KDE 4.5.1 somewhere an option was changed.
    Is there anybody who wants to tell me, how to change that back?

    Jrn Behre

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,964

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    That is all nice and clear, but as for helping we often have to replay what you did to get any idea about what the problem is. And I refuse to do these things you do, thus I can not be of any help if you do not follow my advice given above. Also, with your habit, it is quite clear that anything can have happened to your system and even when you think the update did it, it could be quite a different thing hidden in the darkness of root misbehaviour.
    Henk van Velden

  7. #7

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    to: jbehre

    All you have to do is select another display manager: in /etc/sysconfig/displaymanager, change
    DISPLAYMANAGER="kdm"
    to
    DISPLAYMANAGER="xdm"
    or "gdm" or "lxdm" or something else you happen to have installed



    to: all the others who did not ANSWER the original question:

    It is MY PC and if I want to do something with it, even if somebody else think that's stupid, I will still want to do it.
    And since the Linux is all about freedom of choice, I choose to work on MY computer(s) as ROOT, as I have been doing for past 15 years (and never had any problems just because I was root).

    Синиша Бандин

  8. #8
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,816

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    You are certainly welcome to mess up your machine any way you want. But Logging into a GUI as root will hasten the problems. No one is stopping you. But when you do mess things up. You should at least understand what you did to mess it up and have a clue about how to repair it.

  9. #9
    Carlos E. R. NNTP User

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    On 2010-09-12 02:06, gogalthorp wrote:
    >
    > You are certainly welcome to mess up your machine any way you want. But
    > Logging into a GUI as root will hasten the problems. No one is stopping
    > you. But when you do mess things up. You should at least understand
    > what you did to mess it up and have a clue about how to repair it.


    If he has been doing that for 15 years, he is not a novice and knows the risks. His problem was not
    his fault, it was caused by an update.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: graphical root login no longer allowed after update from KDE4.5.0 to KDE 4.5.1

    siny wrote:
    > It is MY PC and if I want to do something with it, even if somebody
    > else think that's stupid, I will still want to do it.


    you are, of course, welcome to do that...as far as i know no one here
    is trying to take away your right to do whatever damage you wish to do
    to your property..

    but, if/when you have trouble doing what you want to do, you need to
    then find someone with the experience of running as you do to have a
    chance to know what *might* have happened..

    there are so many variations of what *might* have been clobbered i
    won't take my time to try to help one recover from their own
    persistent stupidity (and many others here take the same view)..

    on the other hand, if you were to put together a interactive group of
    folks who like to run as root, no matter the problems, that would be a
    great idea as then you all would know how to help each other solve
    permission problems, root kits, myriad little unexplainable problems
    and etc..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •