From owner-freebsd-questions Wed Jun 17 21:06:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA11116 for freebsd-questions-outgoing; Wed, 17 Jun 1998 21:06:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA11104 for ; Wed, 17 Jun 1998 21:06:09 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id WAA02167; Wed, 17 Jun 1998 22:56:20 -0400 (EDT) (envelope-from listread) Message-Id: <199806180256.WAA02167@lucy.bedford.net> Subject: Re: giving root telnet access In-Reply-To: from Brendan Kosowski at "Jun 18, 98 12:17:36 pm" To: brendan@bmkind.lnk.telstra.net (Brendan Kosowski) Date: Wed, 17 Jun 1998 22:56:20 -0400 (EDT) Cc: questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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