Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 11:15:33 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Aaron Lewis <aaron.lewis1989@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Weird Problems with User Home Directory , Asking for help
Message-ID:  <4BA75155.8090507@infracaninophile.co.uk>
In-Reply-To: <4BA7181B.7070708@gmail.com>
References:  <4BA7181B.7070708@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/03/2010 07:11:23, Aaron Lewis wrote:
> Hello BSD hackers,
>    I have a strange problems with user's home directory , if i log in
> through ssh , everything's fine.
>    But on virtual terminals , it tolds me:
> 
>    no home directory
>    Logging in with home dir "/"
> 
>    Does anyone has any ideas ?
> 
> 
>    Here's some debug information
> =========================================
> %> grep aaron /etc/passwd
> aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash
> 
> %> ls -ladh /home/aaron/
> drwxr-xr-x  3 aaron aaron   512B Mar  5 22:36 /home/aaron
> ============================================

What are the settings for

    ChallengeResponseAuthentication
    UsePam

in your /etc/ssh/sshd_config?

What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ?

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA75155.8090507>