From owner-freebsd-questions@FreeBSD.ORG Sun Jun 1 05:30:03 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 0CD39AB3 for ; Sun, 1 Jun 2014 05:30:03 +0000 (UTC) Received: from smtpout19.bt.lon5.cpcloud.co.uk (smtpout19.bt.lon5.cpcloud.co.uk [65.20.0.139]) by mx1.freebsd.org (Postfix) with ESMTP id 9327926D8 for ; Sun, 1 Jun 2014 05:30:02 +0000 (UTC) X-CTCH-RefID: str=0001.0A090205.538AB9E4.002D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-Junkmail-Premium-Raw: score=7/97, refid=2.7.2:2014.5.12.82118:17:7.763, ip=, rules=__USER_AGENT, __IN_REP_TO, __MIME_VERSION, __CT, __CTYPE_MULTIPART_ALT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __CTE, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __HAS_FROM, __PHISH_FROM2, __FRAUD_WEBMAIL_FROM, FROM_NAME_ONE_WORD, __TO_MALFORMED_2, __TO_NO_NAME, __HAS_MSGID, __SANE_MSGID, __ANY_URI, __CANPHARM_UNSUB_LINK, __URI_NO_WWW, __STOCK_PHRASE_24, __PHISH_SPEAR_PASSWORD_1, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, __HAS_HTML, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_3000_3999, BODYTEXTH_SIZE_10000_LESS, __MIME_HTML, __TAG_EXISTS_HTML, __URI_NS, BODY_SIZE_5000_LESS, __PHISH_FROM, __FRAUD_WEBMAIL, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Received: from [192.168.0.3] (109.154.41.156) by smtpout19.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as davemorgan353@btinternet.com) id 535F7FE002193E78 for freebsd-questions@freebsd.org; Sun, 1 Jun 2014 06:28:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1401600602; bh=TCkLMEvhjygKj0pNmBPyrlOwkwTaXbEdbXGEAr+QVQI=; h=In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Subject:From:Date:To:Message-ID; b=ByilcIQ287dSjltrHaNWQkdLzGPa2Cbf6vkX7wpqJDrFwLSEntvcqmJ+QDFTxWy9PJI+ykU2f2KVytW/ZEday1iA+ebKYjETCzogrdlYWTDWz0jStKIBCDjoDLOj4+IwAX6rsVTzb6YDPvWnVcBm3qFP0ltqZ95b43wWQ0u3iZg= User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Subject: Re: ssh + su problem From: Dave Date: Sun, 01 Jun 2014 06:28:05 +0100 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 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 05:30:03 -0000 On 31 May 2014 22:59:57 BST, Michael Ross wrote: >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 >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" There's no need to allow root login. You can revert that to "no". -- Dave GPG/PGP ID: CDB94DA1 From owner-freebsd-questions@FreeBSD.ORG Sun Jun 1 08:38:07 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 88EFF260 for ; Sun, 1 Jun 2014 08:38:07 +0000 (UTC) Received: from the-host.seacom.mu (ge-0.ln-01-jnb.za.seacomnet.com [41.87.104.245]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B46D4254D for ; Sun, 1 Jun 2014 08:38:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=the-host.localnet) by the-host.seacom.mu with esmtp (Exim 4.80.1) (envelope-from ) id 1WqyeI-00087N-7t; Sun, 01 Jun 2014 07:49:38 +0200 From: Mark Tinka Reply-To: mark.tinka@seacom.mu Organization: SEACOM To: freebsd-questions@freebsd.org, tyler@tysdomain.com Subject: Re: ssh + su problem Date: Sun, 1 Jun 2014 07:49:34 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.37.6-24-desktop; KDE/4.6.0; i686; ; ) References: <538A3B95.9010605@tysdomain.com> In-Reply-To: <538A3B95.9010605@tysdomain.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1554328.yaP6cGkxka"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201406010749.37505.mark.tinka@seacom.mu> 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 08:38:07 -0000 --nextPart1554328.yaP6cGkxka Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Saturday, May 31, 2014 10:29:09 PM Littlefield, Tyler=20 wrote: > 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. I get this all the time regardless of whether the client is=20 on Windows or UNIX/Linux. I've never had the time to look=20 into it, perhaps I should, some day. My solution - sudo.=20 "sudo su" will allow you to login as root remotely. Mark. --nextPart1554328.yaP6cGkxka Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAABAgAGBQJTir7xAAoJEGcZuYTeKm+GukEQAJaChsq/E7sPWAMydmq1Rjou F3//ZPyzBEI+ayEpddk+EbR08YTXiktTkTImjjEjR9geE5SVv7v9lTCwhKGDgezE 1OWlShbSXqmavviXN/lMTkGVXTdWjjWSNpRaFZP9QTwreth9E+Juj3rVuZ7mZQHR GJojeysyXm98TDc7pL1JZ+9u2PUY4G/RcwLg4JhUPUTqYk1Of1bjeW3lzgcRrRtv I/kgc2FNybFu2/UtCFE04YbcPFm29AjDT/WEb9hdjyZ6QHtbWYJrCU6JgRafq5X9 6Q6pjTc8qkY5NnbYgbqvLeBBQuAfaYJNaAQkCZo2OEkAmYKsqk+rYnd/0sg+iR1I WGHNxpPhBvobt5mQ7sF5ex7RQCNLOynLlxwvg38lcTvImU0H0B8Wx3j4GphKYo2T 6NWiic/ByuTT3s1d8cwcQJ7di8INJXbn5gC5VAunS7Nl01RaCgScAodCU+G2Lrwr l+swefJFeacpcpKsGXVsEoKLNUuzpU5OZ842ZQGP3cHKhYtJ1GR4zebkesSz0PbJ JvBgpFbe0OVxuzqeFPOli3uaPscmwP52qmSTZtY19nW2fZ3r6cZraswn4kXyXct1 +SxxtCcO7CCy5FzlbvxhaQabesMeNDre+JOJfyAe3u/S7P0E227UZBpEEIWS7ls+ JDxDXdeTqpjCtQHNER0U =xpAT -----END PGP SIGNATURE----- --nextPart1554328.yaP6cGkxka--