From owner-freebsd-questions@FreeBSD.ORG Thu Sep 28 12:22:28 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org 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 6797816A416 for ; Thu, 28 Sep 2006 12:22:28 +0000 (UTC) (envelope-from demonbob@systemoverload.net) Received: from mail14.opentransfer.com (mail14.opentransfer.com [69.6.255.184]) by mx1.FreeBSD.org (Postfix) with SMTP id C3EF643D73 for ; Thu, 28 Sep 2006 12:22:27 +0000 (GMT) (envelope-from demonbob@systemoverload.net) Received: (qmail 1434 invoked by uid 399); 28 Sep 2006 12:22:25 -0000 Received: from unknown (HELO main) (71.12.241.169) by mail14.opentransfer.com with SMTP; 28 Sep 2006 12:22:25 -0000 From: "Dustin Coates" To: "'Jim Borland'" , Date: Thu, 28 Sep 2006 07:22:23 -0500 Message-ID: <006701c6e2f8$c12804f0$a9f10c47@main> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <41CAF31DAF5DBD4093DBD271E46C0E8704D1A2@msl01.msl.local> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: Acbi2g0ENCyCKnKZScOH6JJPV6niKQABGzUgAAYYdBA= Cc: Subject: RE: Can't log in a root from anywhere but the console screen. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 12:22:28 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jim Borland Sent: Thursday, September 28, 2006 4:22 AM To: freebsd-questions@FreeBSD.org Subject: RE: Can't log in a root from anywhere but the console screen. -------------------------------------------------------- Jim Borland Unit 2 Wallace Studios 27 Wallace Avenue LisburnBT27 4AE mail: JimBorland@meridiansystems.co.uk www: www.meridiansystems.co.uk tel: +44 (0)28 9260 5060 fax: +44 (0)28 9264 0700 mob: -----Original Message----- From: Erik Norgaard [mailto:norgaard@locolomo.org] Sent: 28 September 2006 09:42 To: Jim Borland Cc: freebsd-questions@FreeBSD.org Subject: Re: Can't log in a root from anywhere but the console screen. Jim Borland wrote: > I want to use a PC to telnet to the freeBSD server and login as root > but it won't let me! Can you help? I can login as a normal user just > not as root, I can't key in su to get in as superuser either. 1) Don't use telnet, use ssh, for security. 2) Are you in the wheel group? Erik suggested I use ssh, I've never used ssh before and when I do it says "the connection has been refused". The "root" user is in the wheel group, I have a user called "jim" which is in a group called "group" he is able to login using telnet. The best thing to do is to add the user "jim" to the wheel group, then you should be able to login as him over ssh, then su to superuser, and do virtually everything root can do. It is considered a security risk to allow root access to ssh. But it's your server. So if you want root to be able to login despite my warning. Edit "/etc/ssh/sshd_config" and find "#PermitRootLogin no", remove the hash, and change the "no" to "yes"