Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2008 10:47:39 +0200
From:      "Christian Zachariasen" <chrizach@gmail.com>
To:        Gilles <gilles.ganault@free.fr>,  "FreeBSD Mailing Lists" <freebsd-questions@freebsd.org>
Subject:   Re: Renaming "root" to "homer"?
Message-ID:  <4a89d1190805290147g7ced55bdy11c44b71a8d2d788@mail.gmail.com>
In-Reply-To: <dsqs34tisuf7ajugi7ek1ni7bcd4hba58n@4ax.com>
References:  <dsqs34tisuf7ajugi7ek1ni7bcd4hba58n@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 29, 2008 at 10:40 AM, Gilles <gilles.ganault@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@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



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