Re: root login How ???

From: Erik Steffl (steffl_at_bigfoot.com)
Date: 08/22/03

  • Next message: William Bradley: "Mouse Problems"
    Date: Fri, 22 Aug 2003 14:45:44 -0700
    To: Debian-User <debian-user@lists.debian.org>
    
    

    charlie derr wrote:
    > It's probably not a full and complete answer to your question, but I
    > find what works for me is to log in to the graphical user environment of
    > your choice as a regular user and then execute "su" in one of the
    > terminals (xterm, gnome-terminal, konsole, whatever...) inside the gui
    > (not "su -"). I can then execute a graphical program (as root) by
    > initiating it from that terminal.
    >
    > hth,
    > ~c
    >
    > Victory wrote:
    >
    >> I found out that after debian 3.0r1 installed,
    >> try to login as root and passwd at the GNOME Desktop Manager
    >> and it said " The system administrator is not allowed to login form this
    >> screen"
    >> How to login with root account to run some utility from graphic mode ???

       some additional info:

       su (or su -) to root and run xauth merge ~user/.Xauthority (where
    user is the name of the user that is running X server), yuou can use
    xauth to give other user access to X server as well (they have to have
    read access to .Xauthority)

       add user to sudoers and run sudo programThatRequiresRoot

       DO NOT DO THIS: xhost + (everybody can use the X server), man xhost
    for more info, but really, don't use this unless you really want it that
    way (security)

            erik

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: William Bradley: "Mouse Problems"

    Relevant Pages

    • Cant access server from user console
      ... I have had no trouble using SSH client from root account using console ... login (no X forwarding). ... When I try to access a server from a user ...
      (comp.security.ssh)
    • How can I setup account restrictions?
      ... I'm running a Win2k as our departmental web server. ... problems restricting users to specific folders when they login via ... not allow the user access to the server. ... group selections, but users can only login successfully when they ...
      (microsoft.public.win2000.security)
    • Re: couldnt start X server
      ... > screen keep falshing. ... > login into root account. ... The X server writes a log file that will normally tell you why X can't ...
      (comp.os.linux.setup)
    • Re: couldnt start X server
      ... > screen keep falshing. ... > login into root account. ... The X server writes a log file that will normally tell you why X can't ...
      (comp.os.linux.setup)
    • Re: couldnt start X server
      ... > screen keep falshing. ... > login into root account. ... The X server writes a log file that will normally tell you why X can't ...
      (comp.os.linux.misc)