How to auto load own files during create new user

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
I'm looking for a solution, can I put my files on the server and they will be automatically added when creating a new user? like templates default index.html ?
(It cannot be bashscript) - I would like to place the files on the server and automatically copy them when creating a user.
 
@johannes but when i cd to /home from root I see all users (resellers) but i want to load files directly after new user is created, so what I should do?
 
but i want to load files directly after new user is created, so what I should do?
Then do as @johannes wrote. So go to /home/resellername/domains/default/ and put the files you want to be created after a new user is created there.

For example, if you want an index.php with an image automatically created when a new users is created by admin or reseller, then put that index.php and that image in that folder. You will see that if you create a user those files will be automatically added to the public_html of the new user.
Just try it out.
 
Back
Top