Locked out of Root

Jerry McAllister jerrymc at msu.edu
Thu Oct 23 08:04:39 PDT 2008


On Thu, Oct 23, 2008 at 02:43:47PM +0200, Wojciech Puchar wrote:

> >>group, and root login is disabled in SSH.
> >>
> >>Thanks for any help/advice.
> >
> >You'll need to reboot in single-user mode.
> >E.g.,
> >http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/admin.html#SU-WHEEL-GROUP
> >
> >--
> 
> and next time - do enable root login through ssh/rlogin/telnetd
> 
> there is no security gain by disabling it, as you have to know password 
> too.

It guarantees that the root password is passed encrypted.

So, next time do NOT enable root loging via ssh.
Instead, put the non-root user in the wheel group.

////jerry

> 
> if course it's not bright to login as root over telnet through public 
> network, but too - it's not security hole in system, just in 
> administrator's brain if he/she do it this way.
> 
> 
> _______________________________________________
> 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"


More information about the freebsd-questions mailing list