From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 10:12:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C649116A4CE for ; Mon, 5 Jul 2004 10:12:02 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.251]) by mx1.FreeBSD.org (Postfix) with SMTP id B60E043D31 for ; Mon, 5 Jul 2004 10:12:02 +0000 (GMT) (envelope-from roop.nanuwa@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so1922822cwb for ; Mon, 05 Jul 2004 03:12:02 -0700 (PDT) Received: by 10.11.99.11 with SMTP id w11mr317879cwb; Mon, 05 Jul 2004 03:12:02 -0700 (PDT) Message-ID: <75f3f705040705031255a3309c@mail.gmail.com> Date: Mon, 5 Jul 2004 03:12:02 -0700 From: Roop Nanuwa To: "freebsd@stateautomation.com" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: cc: freebsd-questions@freebsd.org Subject: Re: Telnet - can't telnet is as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 10:12:02 -0000 On Mon, 5 Jul 2004 17:49:32 +1000 , 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