From owner-freebsd-questions@FreeBSD.ORG Sat May 31 22:00:23 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 0AAC6421 for ; Sat, 31 May 2014 22:00:23 +0000 (UTC) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0CC42176 for ; Sat, 31 May 2014 22:00:22 +0000 (UTC) Received: from [92.76.90.49] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1WqrK0-0001V3-Fd; Sun, 01 Jun 2014 00:00:12 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Will Parsons" , gyliamos@gmail.com Subject: Re: ssh + su problem References: Date: Sat, 31 May 2014 23:59:57 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.1/19053/Fri May 30 22:25:35 2014) 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 22:00:23 -0000 On Sat, 31 May 2014 21:42:23 +0200, 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. > > 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. > > Any ideas of what might be wrong? > Maybe a character encoding issue, any "special" characters in your root password? Michael