Prevent automatic copying of Freebsd environment files to windows home shares?

Dekay

Cadet
Joined
Mar 15, 2024
Messages
1
Hi TrueNAS experts,

when using the option "Use as Home Share" from "Windows Shares (SMB)" on my rueNAS-13.0-U6.1 if someone from the connected Active Directory is booting his client an login a directory with his username is created. This works fine though it took me ages to find out that I needed to reboot a client that the domain directory and under it the user directory was created. When this directory is created also the environment files (.cshrc, .login_conf, .mailrc, .shrc, .login, .mail_aliases, .profile) are copied to that home directory. I've set all these users to "nologin" anyway. Is there any way to control this?

Regards
 
Top