Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2008 10:48:27 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Gilles <gilles.ganault@free.fr>
Subject:   Re: Renaming "root" to "homer"?
Message-ID:  <200805291048.28277.pieter@degoeje.nl>
In-Reply-To: <dsqs34tisuf7ajugi7ek1ni7bcd4hba58n@4ax.com>
References:  <dsqs34tisuf7ajugi7ek1ni7bcd4hba58n@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 29 May 2008, Gilles wrote:
> Hello
>
> With all those scripts trying to connect to SSHd as "root", I was
> wondering if it'd be OK to rename this account to eg. "homer", to act
> as a first line of defense?
>
> Are there unknown consequences to doing something like that?
>
> If not, is it done by just editing /etc/password with vi, or is there
> a better way?
>
> Thank you.

Unless you have explicitly set PermitRootLogin to yes in /etc/ssh/sshd_config, 
it is not possible to login as root using ssh. 

-- 
Pieter de Goeje




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805291048.28277.pieter>