Authorisation Errors on 9.2

Frank Leonhardt frank2 at
Sun Oct 13 19:31:10 UTC 2013

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 ( is host's IP)
> $ ssh root at
> Password for root at 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 closed.
> /var/log/auth.log for ssh shows:
> Oct 13 19:41:37: Server listening on port 22.
> Oct 13 19:42:37: Accepted keyboard-interactive/pam for root from
> port 33248 ssh2
> Oct 13 19:42:37: Received disconnect from 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 

Regards, Frank.

More information about the freebsd-questions mailing list