Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2013 20:31:01 +0100
From:      Frank Leonhardt <frank2@fjl.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Authorisation Errors on 9.2
Message-ID:  <525AF4F5.2080209@fjl.co.uk>
In-Reply-To: <1381684110517-5851543.post@n5.nabble.com>
References:  <1381684110517-5851543.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525AF4F5.2080209>