[Samba] Samba (3.6.12) - Different Home Directories for Different Users

Chris Smith smb_77 at chrissmith.org
Sat Mar 16 16:02:43 MDT 2013


On Fri, Mar 15, 2013 at 4:59 PM, TMason <c.koeber at live.com> wrote:
> What I would like to do now is have different /etc/skel directories for
> different groups. So, for example, if someone from the Finance department
> logs in one set of default settings are copied for that person but if
> someone from sales logs in another set of default settings are copied over
> for that user.
>
> How can I do this with Samba/Linux?

Maybe you can use the group variable %G in the add user script as part
of the skel name: -k /etc/skel%G and make sure you have a
corresponding skeleton directory for each group.


More information about the samba mailing list