Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: HOWTO to enable local root login

  1. #1
    Join Date
    May 2009
    Location
    Australia
    Posts
    271

    Default HOWTO to enable local root login

    For some reason this has been disabled, or better impossible to do.

    You need to edit in
    /etc/sysconfig......the file "displaymanager"

    Code:
    ## Path:    Desktop/Display manager
    ## Description:    settings to generate a proper displaymanager config
    
    ## Type:    string(kdm,kdm3,kdm4,xdm,gdm,wdm,entrance,console)
    ## Default:    ""
    #
    # Here you can set the default Display manager (kdm/xdm/gdm/wdm/entrance/console).
    # all changes in this file require a restart of the displaymanager
    #
    DISPLAYMANAGER="kdm"
    
    ## Type:    yesno
    ## Default:    no
    #
    # Allow remote access (XDMCP) to your display manager (xdm/kdm/gdm). Please note
    # that a modified kdm or xdm configuration, e.g. by KDE control center
    # will not be changed. For gdm, values will be updated after change.
    # XDMCP service should run only on trusted networks and you have to disable
    # firewall for interfaces, where you want to provide this service.
    #
    DISPLAYMANAGER_REMOTE_ACCESS="no"
    
    ## Type:    yesno
    ## Default:    no
    #
    # Allow remote access of the user root to your display manager. Note
    # that root can never login if DISPLAYMANAGER_SHUTDOWN is "auto" and
    # System/Security/Permissions/PERMISSION_SECURITY is "paranoid"
    #
    DISPLAYMANAGER_ROOT_LOGIN_LOCAL="yes"
    
    ## Type:    yesno
    ## Default:    yes
    #
    # Let the displaymanager start a local Xserver.
    
    DISPLAYMANAGER_ROOT_LOGIN_REMOTE="no"
    
    ## Type:    yesno
    ## Default:    yes
    #
    # Let the displaymanager start a local Xserver.
    # Set to "no" for remote-access only.
    # Set to "no" on architectures without any Xserver (e.g. s390/s390x).
    #
    DISPLAYMANAGER_STARTS_XSERVER="yes"
    
    ## Type:        yesno
    ## Default:     no
    #
    # TCP port 6000 of Xserver. When set to "no" (default) Xserver is
    # started with "-nolisten tcp". Only set this to "yes" if you really
    # need to. Remote X service should run only on trusted networks and
    # you have to disable firewall for interfaces, where you want to
    # provide this service. Use ssh X11 port forwarding whenever possible.
    #
    DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"
    
    ## Type:    string
    ## Default:
    #
    # Define the user whom should get logged in without request. If string
    # is empty, display standard login dialog.
    #
    DISPLAYMANAGER_AUTOLOGIN="hase"
    
    ## Type:        yesno
    ## Default:     no
    #
    # Allow all users to login without password, but ask for the user, if
    # DISPLAYMANAGER_AUTOLOGIN is empty.
    #
    DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"
    
    ## Type:        yesno
    ## Default:     no
    #
    # Display a combobox for Active Directory domains.
    #
    DISPLAYMANAGER_AD_INTEGRATION="no"
    
    ## Type:    list(root,all,none,auto)
    ## Default: auto
    #
    # Determine who will be able to shutdown or reboot the system in kdm.  Valid
    # values are: "root" (only root can shutdown), "all" (everybody can shutdown),
    # "none" (nobody can shutdown from displaymanager), "auto" (follow
    # System/Security/Permissions/PERMISSION_SECURITY to decide: "easy local" is
    # equal to "all", everything else is equal to "root").  gdm respects the
    # PolicyKit settings for ConsoleKit. Shutdown configuration can be done via
    # the polkit-default-privs mechanism.
    #
    DISPLAYMANAGER_SHUTDOWN="auto"
    
    ## Type:        string
    ## Default:     ""
    #
    # Mode to configure on output devices by default
    # (RANDR 1.2 compatible drivers only).
    #
    # If set to "auto", DISPLAYMANAGER_RANDR_MODE_auto is used on laptops, and
    # the empty string on workstations.
    #
    # The output is not explicitly enabled (read: disabled) if set to an empty
    # string.
    # If the variable contains a fully configured modeline (see default of
    # DISPLAYMANAGER_RANDR_MODE_auto), the mode is defined and set.
    # If the variable contains a mode name only, the mode has to be defined
    # already.
    #
    # If a monitor is attached during Xstartup, or when invoking "xrandr --auto"
    # during runtime, the output is correctly configured and a mode is
    # automatically selected if none has been used so far.
    #
    # Variables are checked according to their extension for
    #    VGA DVI_I DVI_D DVI_A Composite S_Video Component LFP Proprietary
    #
    DISPLAYMANAGER_RANDR_MODE_VGA=""
    #DISPLAYMANAGER_RANDR_MODE_DVI_I=""
    #DISPLAYMANAGER_RANDR_MODE_DVI_D=""
    #DISPLAYMANAGER_RANDR_MODE_DVI_A=""
    #DISPLAYMANAGER_RANDR_MODE_Compsite=""
    #DISPLAYMANAGER_RANDR_MODE_S_Video=""
    #DISPLAYMANAGER_RANDR_MODE_Component=""
    #DISPLAYMANAGER_RANDR_MODE_LFP=""
    #DISPLAYMANAGER_RANDR_MODE_Proprietary=""
    
    ## Type:        string
    ## Default:     "1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
    #
    # Mode to use for laptops for DISPLAYMANAGER_RANDR_MODE_* on laptops only,
    # when the according variable is set to "auto".
    # (RANDR 1.2 compatible drivers only).
    #
    DISPLAYMANAGER_RANDR_MODE_auto="1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
    ## Type:        string(Xorg)
    ## Path:        Desktop/Display manager
    ## Default:     "Xorg"
    #
    DISPLAYMANAGER_XSERVER="Xorg"
    ## Path:    Desktop/Display manager
    ## Description: settings to generate a proper displaymanager config
    ## Config:      kdm3
    
    ## Type:    string
    ## Default: 
    #
    # space separated list of users for which icons should be shown in KDM
    # if empty, then take system defaults
    #
    KDM_USERS=""
    
    ## Type:    string
    ## Default: 
    #
    # Special greeting words in kdm
    #
    KDM_GREETSTRING=""
    
    ## Type:        string
    ## Default: 
    #
    # Defines extra Server Arguments given to the kdm display manager when
    # starting a local display. Useful to override e.g. the -dpi setting.
    # 
    DISPLAYMANAGER_KDM_LOCALARGS=""
    
    ## Type:        string
    ## Default:     SUSE
    #
    # Define the theme to be used by kdm. If empty, the traditional login
    # window is used (which lacks some features)
    # 
    DISPLAYMANAGER_KDM_THEME="SUSE"
    Make sure you save the original !!!

    Cheers
    Desktop: AMD Phenom II X4, 8 GB RAM, Asus Mb, NVIDIA EN210, Raid 1, 13.1
    Media: AMD Phenom II X4, 8 GB RAM, Asus Mb, ATI, Suse 13.1
    Laptop: ASUS Intel Core2 T7300 2Ghz, 2GB RAM, NVIDIA 8400G, Suse 12.1
    Printer: Samsung CLP325, Scanner: Epson V33

  2. #2
    Join Date
    May 2009
    Location
    Australia
    Posts
    271

    Default Re: HOWTO to enable local root login

    Or to be correct, you need to include the section "in red"
    Desktop: AMD Phenom II X4, 8 GB RAM, Asus Mb, NVIDIA EN210, Raid 1, 13.1
    Media: AMD Phenom II X4, 8 GB RAM, Asus Mb, ATI, Suse 13.1
    Laptop: ASUS Intel Core2 T7300 2Ghz, 2GB RAM, NVIDIA 8400G, Suse 12.1
    Printer: Samsung CLP325, Scanner: Epson V33

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,097
    Blog Entries
    16

    Default Re: HOWTO to enable local root login

    For goodness sake - why post this.
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  4. #4

    Default Re: HOWTO to enable local root login

    Quote Originally Posted by caf4926 View Post
    For goodness sake - why post this.
    Well, you know those people always crying out loud, that "Linux has to keep up with Windows".

    That's a step into this direction, now you have the same level of security as on a standard XP Home install, where you just like to login as root.

    But there ist still something missing, how to rename "root" to "Administrator" and make him the standard login without asking for a password, then -finally!11oneone- Linux has come to "Windows level".

    Maybe this should be added here, too.









    P.S. For all people not getting it, readjust your "irony detectors", thank you
    Never attribute to malice that which can be adequately explained by stupidity. (R.J. Hanlon)

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    16,040

    Default Re: HOWTO to enable local root login

    For those who do not quite understand the stupidity of the advice in post #1 above, first study SDB:Login as root - openSUSE and then decide for yourself.
    Last edited by hcvv; 14-Oct-2010 at 10:56.
    Henk van Velden

  6. #6
    Join Date
    Nov 2009
    Location
    Pennsylvania, USA
    Posts
    433

    Default Re: HOWTO to enable local root login

    Quote Originally Posted by caf4926 View Post
    For goodness sake - why post this.
    Looks like they should have added a trash category when they did the forum update and sent that post there.

  7. #7
    Join Date
    May 2009
    Location
    Australia
    Posts
    271

    Default Re: HOWTO to enable local root login

    For goodness sake - why post this
    simple.. the question came up a number of times withing this forum and the answers remain hidden in the sub-forums.
    Desktop: AMD Phenom II X4, 8 GB RAM, Asus Mb, NVIDIA EN210, Raid 1, 13.1
    Media: AMD Phenom II X4, 8 GB RAM, Asus Mb, ATI, Suse 13.1
    Laptop: ASUS Intel Core2 T7300 2Ghz, 2GB RAM, NVIDIA 8400G, Suse 12.1
    Printer: Samsung CLP325, Scanner: Epson V33

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    11,210

    Default Re: HOWTO to enable local root login

    rafter22 wrote:
    > Looks like they should have added a trash category when they did the
    > forum update and sent that post there.


    my opinion, for what it is worth: remove this thread as it serves no
    useful purpose and only plants an easy way for the unknowing to
    destroy their system..

    --
    DenverD
    When it comes to chocolate, resistance is futile.
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  9. #9
    Join Date
    Jul 2008
    Location
    Bellevue, WA
    Posts
    14,379

    Default Re: HOWTO to enable local root login

    On Thu, 14 Oct 2010 15:36:02 +0000, hcvv wrote:

    > For those who doo not quite understand the stupidity of the advice in
    > post #! above, first study 'SDB:Login as root - openSUSE'
    > (http://en.opensuse.org/SDB:Login_as_root) and then decide for yourself.


    That would be a good addition to this HOWTO, but I would also suggest
    that the topic is a valid topic because, as otto states, it is asked
    about on occasion and there are valid reasons why you might do this (the
    question showed up recently on the user mailing list IIRC).

    Having the info in a central place *with* the appropriate cautions serves
    the purpose of providing information that is requested and including the
    cautions necessary about how you *can* mess your system up if you're not
    careful.

    In my own experience, logging into the GUI (KDE or GNOME) as root doesn't
    automatically hose your system. Rather than tell users *after the fact*
    that they shouldn't and now they need to reinstall, it seems a good idea
    to me to pull all the relevant information together so we can actually
    educate users rather than appear to be chiding them for following a bad
    security practice.

    I think we need to stop giving the impression that Linux is so fragile
    that doing something that is relatively easy to do will make it fall to
    pieces - that isn't the case, if one does it with information.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  10. #10
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    10,967
    Blog Entries
    2

    Default Re: HOWTO to enable local root login

    I support Otto and Jim here. I log in as root when I need to make some particular repairs where a total free hand is convenient, when I don't want to run a su console. Or when my user interface goes bad for some reason. IMHO this is a valuable post.

    Of course, new users should understand that running a su terminal requires caution, and that logging in as root requires more caution, and that crossing the road requires even more caution.

    And finally: the devs haven't disabled the root login have they? I have Gnome and KDE for openSUSE 11.3 on two different machines and root logins work by default on both of them.

Page 1 of 4 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
  •