Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 1998 22:56:20 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        brendan@bmkind.lnk.telstra.net (Brendan Kosowski)
Cc:        questions@FreeBSD.ORG
Subject:   Re: giving root telnet access
Message-ID:  <199806180256.WAA02167@lucy.bedford.net>
In-Reply-To: <Pine.BSF.3.96.980618121358.984A-100000@bmkind.lnk.telstra.net> from Brendan Kosowski at "Jun 18, 98 12:17:36 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Brendan Kosowski wrote:
> 
> How do I give root telnet access ???

Append "secure" to the ptty lines in /etc/ttys, and send a SIGHUP to init.
like so:

# Pseudo terminals
ttyp0   none                    network secure
ttyp1   none                    network secure
ttyp2   none                    network secure
ttyp3   none                    network secure
ttyp4   none                    network secure
 ....

> P.S. - I understand the security risk.

[for the benefit of our general readership]:  

The right thing is to use su after logging in as a normal user.

It is helpful to install tcpwrappers from the ports, and limit
telnet access in /etc/hosts.allow|hosts.deny (man hosts_access).

The last standard advice is to consider ssh.

Dave
-- 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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