Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2004 03:12:02 -0700
From:      Roop Nanuwa <roop.nanuwa@gmail.com>
To:        "freebsd@stateautomation.com" <freebsd@stateautomation.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Telnet - can't telnet is as root
Message-ID:  <75f3f705040705031255a3309c@mail.gmail.com>
In-Reply-To: <BF7916625596914581732F223B113D33108E8B@MELEXC01>
References:  <BF7916625596914581732F223B113D33108E8B@MELEXC01>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Jul 2004 17:49:32 +1000 , freebsd@stateautomation.com
<freebsd@stateautomation.com> wrote:
> I would like to telnet into my 4.9 RELEASE box using root.  Currently when I
> try to telnet in as root I get the reply
> "LOGIN root REGUSED (NOROOT)".  Does anyone know how I can configure my
> system to allow root to directly telnet in.  I know that I can telnet in as
> a standard users then 'su' to switch to root.  Is there any reason why I
> should configure my system so that I can telnet in directly as root?
> Thanks.

It's not recommended. At all. It's highly insecure. If you're still
determined to do it, though: You will need to add the keyword 'secure'
to the end of the lines in /etc/ttys that look like ttypN (where N is a number).

Again, you really should be using SSH instead of telnet if you value your
system at all.

--roop



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