Re: Things Linux Can Do Without



On 2008-05-31, Rahul <nospam@xxxxxxxxxxxxxxx> wrote:
Ignoramus23731 <ignoramus23731@xxxxxxxxxxxxxxxxxxxx> wrote in
news:O6OdnW0ITvH63N3VnZ2dnUVZ_vzinZ2d@xxxxxxxxxxxx:


There is nothing wrong with this, but make sure to pick unguessable
root password, for example h1b32pp2m33, disable logon of root vis SSH
with password,


The reason for this is there are thousands of machines connecting to
all SSH servers that they can find and trying to brute force guess
root password.

How is this safer? I still need ssh to login as a normal user. Then I su to
root. Couldn't the malicious robots do the same even with user account ssh
access open?

The attacker would have to guess _both_ the normal user's
username and the password. With "root", the attacker
already knows the username. It adds a few bits worth of
security by obscurity, but it's not very many bits.

HTH

--
Robert Riches
spamtrap42@xxxxxxxxxxx
(Yes, that is one of my email addresses.)
.



Relevant Pages

  • pam_console[3660]: getpwnam failed for <username>
    ... I just finished setting up a cluster-of-workstations using Red Hat 9 on ... If I ssh in to the root account I can connect very reliably, ...
    (comp.os.linux.security)
  • Re: Why Disable Root ssh login?
    ... Think of a username and password as a lock and a key. ... Disabling direct root login helps put an extra layer around it. ... Its better to use SSH key pairing and authenticate using all 3, ...
    (Debian-User)
  • PAM and SSH
    ... As long as you are in the building and have a username and password, ... The default ssh file in pam.d uses auth required pam_listfile.so to block the root user. ... Using the above pam.d/sshd file I can log in if I am on the list of God's chosen but the others can not get in unless I have listed the fully qualified host name in allow192. ...
    (SSH)
  • Re: help needed after intrusion from a ssh dictionary attack
    ... He used a simple ssh dictionary attack but unfortunately our ... >> root is enabled through ssh and the root password was not strong ... >> Now we are going to reset the root password but for some other reasons ... >> we don't want to disable root login through ssh. ...
    (comp.os.linux.security)
  • Re: Things Linux Can Do Without
    ... root password, for example h1b32pp2m33, disable logon of root vis SSH ... already knows the username. ...
    (comp.os.linux.misc)