SMB Home Directories help

jcm1123

Dabbler
Joined
Aug 24, 2023
Messages
18
I followed the tutorial for setting up home directories with SMB and it's working fine but had 2 questions:

1) Is there a way to prevent the .bash_logout, .bashrc, and .profile files from being created?
My clients will be Windows machines and I don't think these are needed?
Also, this only happened to one of my two users and they appear to be setup identically.

2) How do I setup my account to be able to access all users folders?
I added builtin_administrators to my user and made that group the owner of the dataset

Info:
OS Version:TrueNAS-SCALE-22.12.3.3
Users Dataset:
Share Type: SMB
ACL Preset: NFS4_HOME
SMB Share:
Purpose: no presets
Use as home share: checked
User Setup:
Shell: nologin
Create home directory: checked
 
Top