Re: Cannot open remote display

From: Scot L. Harris (webid_at_cfl.rr.com)
Date: 02/07/05

  • Next message: david_pettersson_at_bredband.net: "New install hangs."
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Mon, 07 Feb 2005 09:13:18 -0500
    
    

    On Tue, 2005-02-01 at 08:30, A. Lanza wrote:
    > Hi all,
    >
    > i'm managing a server in my local network remotely using ssh. From a
    > graphical command terminal in my laptop i issue the following command:
    >
    > ssh -l root server1
    >

    Missed your first message.

    I would recommend that you disable root login on that server via ssh.
    Setup a regular user account and use that to ssh to the server. Then
    once you have your CLI as that user use the su - command (note the - on
    that command) to change to root.

    This will improve the security on that server since no one can log in
    remotely as root. They would need access to another users account. And
    you get log files indicating which user account switched to root on that
    box.

    -- 
    Scot L. Harris
    webid@cfl.rr.com
    A verbal contract isn't worth the paper it's written on.
    		-- Samuel Goldwyn 
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: david_pettersson_at_bredband.net: "New install hangs."

    Relevant Pages

    • csh core dumping 7.0-rc1
      ... After rebooting a FreeBSD 7.0-RC1 server I noticed I could not login ... as root either via ssh or su, I initially thought I forgot my password ... Luckily I had enabled root login on sshd and added my ssh ... Loaded symbols for /lib/libncurses.so.7 ...
      (freebsd-current)
    • RE: Dead SSH Connections from script
      ... >> dead SSH connections around, ... root on one machine to access all other machines thru SSH as root. ... we have told all the client machines that our server is an ...
      (RedHat)
    • Re: bash_history set to zero length
      ... I log in to the server over ssh to carry out various tasks for which I ... sometimes have to su to root. ... Maybe one of these disconnects cause the bash_history to become lost? ...
      (comp.os.linux.security)
    • Re: PubkeyAuth disallowed for root only?
      ... On two of our RedHat EL4 Update 4 servers root cannot login via ssh using public keys. ... if you either run sshd in debug mode or increase LogLevel in sshd_config then the server will provide more information about why the authentication was denied. ...
      (SSH)
    • Re: need remedial iptables info
      ... >> We recently had a server root level hacked. ... can I still "su -" from another account OK? ... > via ssh. ...
      (comp.os.linux.networking)