Renaming "root" to "homer"?
Pieter de Goeje
pieter at degoeje.nl
Thu May 29 08:48:36 UTC 2008
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
More information about the freebsd-questions
mailing list