[Samba] go directly into home directory

Jerry Mersel jerry.mersel at weizmann.ac.il
Wed Jul 5 13:16:01 GMT 2006


Thanks for your reply.
I have users in many different subdirectories,
How do I "say that" is it like this %H/%U?

> 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.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>




More information about the samba mailing list