Renaming "root" to "homer"?

Christian Zachariasen chrizach at gmail.com
Thu May 29 08:47:40 UTC 2008


On Thu, May 29, 2008 at 10:40 AM, Gilles <gilles.ganault at free.fr> 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.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

Sorry, forgot to send this to the mailing list as well:

Not recommended.

Instead edit your sshd_config file and change the option PermitRootLogin to
"no".

Christian Zachariasen


More information about the freebsd-questions mailing list