Create homedir on login

i have a thinlinc server/agent configuration. 1 server 2 agents. the server has no agent functionality. the homedirs are distributed via nfs FROM the thinlinc server. in this environment the directories for the users should be created with the first login.

i see, that the agents try to create the homedirectories but as nfs clients they dont have the authority (yes, i know i can change this behavior). is there a way to let the thinlinc server create the home directory?

Furthermore, in linux when a usershome directory ist created the content of /etc/skel will be copied into the homedir. i see this is not the case when thinlinc creates the directory. is there a work-around for that?

thank you

regards j.

ok, i found the bug-report of 2005. and i will use a work-around…

beside that its really not good documented.

How do I create a ThinLinc user? states that its using /etc/skel

anyway thank you

Hi @jean,

Good catch! I’ll update the post. ThinLinc can create the home directories, but it doesn’t look like /etc/skel gets copied after all.

Did you manage to find a solution?

yes, via xstartup.d, but then i have to be cautious not overwriting things. Honoring /etc/skel would be a cleaner solution…

thank you

1 Like