How to automatically create subdirs in the user home dir #2662
Unanswered
vascopantaleao
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there a way to automatically create subdirs in the user home folder when adding a new user?
Like you can see in the image below, I have the "Auto create user home dir while adding new user" option selected.
Is there a way to do something like mkdir -p /home-dir-base-path/$user/{dir1,dir2} so that when I add a new user it will automatically create is home dir and the other two dirs on is home dir?
Beta Was this translation helpful? Give feedback.
All reactions