pkg_delete bash, logged out by accident, can't ssh back in (not good)

Perry Hutchison perryh at
Sat Sep 27 04:13:10 UTC 2014

"firmdog at" wrote:
> Even if you are very experienced you can always screw up no matter
> how old you are. :-)

This is one example of why it is unwise to change the root user's
shell to bash (or any shell from ports).  That's what the toor user
is for.

If you use remote access for administration, it's wise to also
have a non-root administrative user, with su privilege, with a
base-system shell.  That is safer than allowing root or toor to be
accessed remotely, since an attacker must then guess the username,
its password, and the root password in order to get root access.

More information about the freebsd-questions mailing list