From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 18:02:32 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F28BD16A421 for ; Mon, 22 Oct 2007 18:02:32 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6AB5A13C4BC for ; Mon, 22 Oct 2007 18:02:32 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so492641ika for ; Mon, 22 Oct 2007 11:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=6qIMQ3I0GbT0J7cTaxYkvdzXZUtU4OOU6Q1Usb+BHDE=; b=hG52iHGS6HN1YuQwsgMEykvvrTfyc9QIZxau7gRBRPasKwgFYC6d2Uxgphy9Nq1SBikCojEDMqEGy/dMPaOn1VQp1zdDes/Nd+VNV3TvT5ODzQmHcN39DcGEEnnumBrzpy8jR7qOeQ2oJDEWFkN/5pvFUc/So4JuVrgViMnVyqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=kE5HeedcpPSLh/tapVBc+lEwskvSTc3oLr2yUtVVACMSlcnqD72FgNX5rGeIsl32qamvsfT5ISVAYdlBYsW5Ldu9kBfKtdfu/vx28amo8hxqNONeDxgSiGNam3nAmY/htIpn9I02sDKyd7/zpPgNesdBxyn8JVCUbu/hfNZEtfc= Received: by 10.86.51.2 with SMTP id y2mr3993184fgy.1193074416913; Mon, 22 Oct 2007 10:33:36 -0700 (PDT) Received: from ?192.168.1.145? ( [41.245.131.57]) by mx.google.com with ESMTPS id z37sm7073108ikz.2007.10.22.10.33.31 (version=SSLv3 cipher=OTHER); Mon, 22 Oct 2007 10:33:34 -0700 (PDT) From: Federico Lorenzi To: freebsd-questions@freebsd.org Date: Mon, 22 Oct 2007 19:33:21 +0200 User-Agent: KMail/1.9.7 References: <20071022074758.5131513C4A5@mx1.freebsd.org> <57200BF94E69E54880C9BB1AF714BBCB19BE0D@w2003s01.double-l.local> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB19BE0D@w2003s01.double-l.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710221933.22465.florenzi@gmail.com> Cc: "W. D." , Johan Hendriks Subject: Re: Can login using root password, but not remotely with SSH 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: Mon, 22 Oct 2007 18:02:33 -0000 On Monday 22 October 2007 3:00:56 pm Johan Hendriks wrote: > >Brand new install of FreeBSD 6.2. Can't log in with PuTTY. > > > >Remote PuTTY: > >Access denied Using keyboard-interactive authentication. > > > >At computer terminal: > >PAM authentication error for root from 192.168.XXX.XXX > > > >Any ideas? > > > >Thanks! > > You cannot login directly with root over ssh > > You will need to create a user and place that user in the wheel group. > Then login with that user and do a su - to become root. Well... Technically you can login as root directly over SSH, however this is far from recommended. Just look in the /etc/ssh/sshd_config file if this is what you really want, and you should be able to figure it out. Hint: Search for 'root' HTH Federico