root login stops working

Chad Perrin perrin at
Sun May 11 19:54:14 UTC 2008

On Sun, May 11, 2008 at 01:38:52AM +0530, अनुज Anuj Singh wrote:
> Direct root login is disabled by default. are you able to login from your
> as a non root user? What client software are you using on your
> for logging on to your freebsd?

Correction: Direct root login via SSH is disabled by default.  If you
need root access, you should use a staff account in the wheel group to
remotely log into the machine, then su to root.

You should, however, be able to log in as root from a TTY console for
local access.

The fact that remote direct root login is disabled is a security feature,
meant to prevent things like brute-force attacks on root over the
network.  It's a bad idea to change that behavior, in general.  Back when
I was using Debian for all my servers, I would configure sshd to disable
direct root login -- and was pleased to find that on FreeBSD it's
disabled by default, once I started using FreeBSD for all my servers.

CCD CopyWrite Chad Perrin [ ]
John Kenneth Galbraith: "If all else fails, immortality can always be
assured through spectacular error."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list