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

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> 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?
>   
Nothing found , or commented out.
> What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ?
>   
# grep -v -e "^#" /etc/pam.d/sshd | sed '/^$/d'
auth        sufficient    pam_opie.so        no_warn no_fake_prompts
auth        requisite    pam_opieaccess.so    no_warn allow_local
auth        required    pam_unix.so        no_warn try_first_pass
account        required    pam_nologin.so
account        required    pam_login_access.so
account        required    pam_unix.so
session        required    pam_permit.so
password    required    pam_unix.so        no_warn try_first_pass

# grep -v -e "^#" /etc/pam.d/login  | sed '/^$/d'
auth        sufficient    pam_self.so        no_warn
auth        include        system
account        requisite    pam_securetty.so
account        required    pam_nologin.so
account        include        system
session        include        system
password    include        system

It's all fresh install , did i do something wrong ? It's really strange 
.. never met before.
> 	Cheers,
>
> 	Matthew
>
>   


-- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode




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