[Samba] go directly into home directory

Gary Dale garydale at torfree.net
Wed Jul 5 12:38:19 GMT 2006

Jerry Mersel wrote:
> Hi:
>   I have samba setup so a user can go only into his home directory.
>   The problem that I have is that after the user logs in he is
>   one level aboce his home directory and he has to choose his
>   home to go into it. Is there a way for the user to end up in his
>   home directory after login?
>                                Thanks,
>                                   Jerry
Yes. Set the directory permissions to exclude access to the homes except 
to the owner (e.g. 0700). Next, include %u in the homes declaration 
(e.g. /home/%u) in smb.conf.

More information about the samba mailing list