From owner-freebsd-questions@FreeBSD.ORG Sun Jun 1 21:20:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC268B2C for ; Sun, 1 Jun 2014 21:20:16 +0000 (UTC) Received: from nm19-vm4.bullet.mail.ir2.yahoo.com (nm19-vm4.bullet.mail.ir2.yahoo.com [212.82.96.237]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0CBE217E for ; Sun, 1 Jun 2014 21:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1401657452; bh=z/UNvf8JeXngWT84akXwDeBLSgtAs1r13K2gKAfreLc=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=AlZZnlz3x1Wur1H2nt33ts/ciq/AJAHDohADALzPo5yd62gmpD1U+JXNl0JrmeAXmFOr6F4aqCbgshufA0m+8ge8X+pkmmcwXiExYa+JPl7/Pw37vuLnQjKte68AyGLhQfrWpUYklhkVY4nE43jtuNAndMg5HNt+dQiplowJ96c= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; b=RuU/nCbzbJcz/rjpyiS+Ub5GPVK2OUNlv83Nqt6VhD5acGc31PfkdNMY/IOmm6yRYl1Qcmlq6dAbBXKQDnKdJyTUy4VW2x1Ksn1BDwWmQLP/eOnkmAlP2NSG9viwLy3cN00wyXsPuZfqX494jq2DRX/xvT59VQsWIOBru/yxI2A=; Received: from [212.82.98.55] by nm19.bullet.mail.ir2.yahoo.com with NNFMP; 01 Jun 2014 21:17:32 -0000 Received: from [46.228.39.77] by tm8.bullet.mail.ir2.yahoo.com with NNFMP; 01 Jun 2014 21:17:32 -0000 Received: from [127.0.0.1] by smtp114.mail.ir2.yahoo.com with NNFMP; 01 Jun 2014 21:17:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1401657452; bh=z/UNvf8JeXngWT84akXwDeBLSgtAs1r13K2gKAfreLc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Z5Vox3IsmYJj821YrXqehGRY49re0JRGv//xJRGq9wbq4DQ2CE+JwfDwFcGiO4i3lVS5F8nE/+aBvFkyFJm9aay/8Akuz7gA3j0s+/DM7WZTDAO8HplVXMOpL3ghzdKXtenHcJyl5WGOjS5Wv1fWchIaBjbrUfRSD6fRjo/fuh4= X-Yahoo-Newman-Id: 298312.46476.bm@smtp114.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vB30_XwVM1nLIriwgbSsq3wQAYdifqmFeyHjs.nSwyYw7Km VuMTsG428PVIm6op0ubARexkXZpnQ8w_X9JudNeaBrlW4IVVrBTAoxY.q_WD xOs0zg96XgufakNPuCfA4_1L2fukFuXJQfpce9RCKssyDpbZ4.8LUWM2Lr9R qYtZSvPoourTJ5fUVoClLENXwAeime2A7eizZDjXQ4EkwptLarR6WPdEixS2 AGv0igKwhDs.4DnyAYBsNM8ArKaFfyVgoXxwIh_1lF_wRyAIh3BMT7CJ6KmB 7CyNBwpPdQBagARrl55O8De_QCZqZvItyZ8r8IyBzYGQiKEINTrwW4pm8mAy uKZXQpJUO0HOX4X7qc2l75FqpWS5Bxa3Wda.sWrzp.sprmaYhxdiQ5Ubziqy vYRc10.27zXmnaPqrC2XHPhRMnKJ81VWpe7TDdiAC4sz_U_nrn2JqGNIBSeu v6qtwYtFR982oSDfjBIzOcDhIPPVwziJzJ2XwYCeirvkrb_5u.5ctRvtr X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from localhost (emorrasg@212.21.233.80 with plain [63.250.193.228]) by smtp114.mail.ir2.yahoo.com with SMTP; 01 Jun 2014 21:17:32 +0000 UTC Date: Sun, 1 Jun 2014 23:17:28 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: ssh + su problem Message-Id: <20140601231728.9decb4f8b733c26bf040f963@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.22; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gyliamos@gmail.com 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: Sun, 01 Jun 2014 21:20:16 -0000 On Sat, 31 May 2014 19:42:23 +0000 (UTC) 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. > Try %su - Perhaps it's failing because root user tries to use your user configuration and it has some issue (non existing directory, config incompatible with root user, whatever...) > -- > Will --- --- Eduardo Morras