From owner-freebsd-questions@FreeBSD.ORG Sat May 31 20:28:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5BC620D for ; Sat, 31 May 2014 20:28:54 +0000 (UTC) Received: from tds-solutions.net (tds-solutions.net [192.99.32.153]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA532A57 for ; Sat, 31 May 2014 20:28:54 +0000 (UTC) Received: from tds-solutions.net (localhost [127.0.0.1]) by tds-solutions.net (Postfix) with ESMTP id 5E385FF306; Sat, 31 May 2014 16:28:49 -0400 (EDT) X-Virus-Scanned: amavisd-new at tds-solutions.net Received: from tds-solutions.net ([127.0.0.1]) by tds-solutions.net (tds-solutions.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oqOdfKbfwnJG; Sat, 31 May 2014 16:28:49 -0400 (EDT) Received: from [192.168.1.35] (24-177-51-95.dhcp.oxfr.ma.charter.com [24.177.51.95]) (Authenticated sender: sorressean) by tds-solutions.net (Postfix) with ESMTPSA id D538DFF1AF; Sat, 31 May 2014 16:28:48 -0400 (EDT) Message-ID: <538A3B95.9010605@tysdomain.com> Date: Sat, 31 May 2014 16:29:09 -0400 From: "Littlefield, Tyler" Reply-To: tyler@tysdomain.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: gyliamos@gmail.com, freebsd-questions@freebsd.org Subject: Re: ssh + su problem References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2014 20:28:54 -0000 On 5/31/2014 3:42 PM, Will Parsons wrote: > I have a problem in that I cannot su to root on a FreeBSD machine > remotely from a Windows machine. Note that the user I'm logging in as > *is* a member of the wheel group (and I can su locally just fine). > Symptoms are: > > % su > Password: > su: Sorry > % > > Although I *think* the purpose of the sshd option "PermitRootLogin" is > to (dis)allow *direct* root ssh logins, I changed it to "yes" anyway > in sshd_config, but that doesn't seem to be the problem. The point of that directive is to not allow people to log in as root. It does not affect whether you can su once you're logged in, just prevents people from logging in as root as the first user. I'm inclined to think this a server-side configuration issue, since I get the same result whether I use Cygwin ssh or PuTTY to log in remotely to the FreeBSD machine. Check out /var/log/auth.log and see if there are any messages--that might shed some light on the problem. Any ideas of what might be wrong? -- Take care, Ty http://tds-solutions.net He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.