From owner-freebsd-questions@FreeBSD.ORG Sun Oct 13 19:31:10 2013 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 ESMTP id CD943506 for ; Sun, 13 Oct 2013 19:31:10 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5546E2380 for ; Sun, 13 Oct 2013 19:31:09 +0000 (UTC) Received: from [192.168.1.35] (host86-163-34-162.range86-163.btcentralplus.com [86.163.34.162]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r9DJV1Qu031836 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 13 Oct 2013 20:31:01 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <525AF4F5.2080209@fjl.co.uk> Date: Sun, 13 Oct 2013 20:31:01 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Authorisation Errors on 9.2 References: <1381684110517-5851543.post@n5.nabble.com> In-Reply-To: <1381684110517-5851543.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 19:31:10 -0000 On 13/10/2013 18:08, Beeblebrox wrote: > I have two strange errors but I am not sure whether they are related. > > ERROR-1: Slim allows login without checking for password. /var/log/auth.log > shows: > Oct 13 11:44:57: slim: gkr-pam: no password is available for user > Oct 13 11:44:57: gnome-keyring-daemon[1225]: couldn't allocate secure memory > to keep passwords and or keys from being written to the disk > > ERROR-2: sshd disconnects (drops) client connections immediately after > login. This happens when trying from host its self or some other client. > Testing from host (162.168.1.10 is host's IP) > $ ssh root@192.168.1.10 > Password for root@server.freebsd: > Last login: Sun Oct 13 13:02:09 2013 > Welcome to myNetwork (the motd message) > csh: No such file or directory > Connection to 192.168.1.10 closed. > > /var/log/auth.log for ssh shows: > Oct 13 19:41:37: Server listening on 0.0.0.0 port 22. > Oct 13 19:42:37: Accepted keyboard-interactive/pam for root from > 192.168.1.10 port 33248 ssh2 > Oct 13 19:42:37: Received disconnect from 192.168.1.10: 11: disconnected by > user > > Thanks for any advice on how to resolve these two issues. > The gnome keyring demon does that. I believe it's only warning and I've never dug in to the source to find out more but I think it's something it can only do on Linux. I'm sure someone will be along in a minute with something to say about that. As to the second problem - csh: No such file or directory. At the risk of pointing out the trivial, is root's home directory valid? Why not post /etc/passwd and we'll check :-) Could it be a dud /root/.tcshrc? Or /etc/login.conf? I assume you've configured sshd to allow direct root logins. If you hadn't I think you get a different rejection message (but who knows with 9.2?) Regards, Frank.