Solved adding a user to the system

Hello.
When adding a user to the system, system files were not created (.cshrc,.history,.login,.login_conf,.mail_aliases,.mailrc,.shrc ....)
How can I create these system files for the added user?
 
Those are so-called "skeleton" files, they're copied from /usr/share/skel/. You just have to rename them from dot.cshrc to .cshrc etc.

Code:
% ll /usr/share/skel/
total 28
-rw-r--r--  1 root wheel  950 Dec  1  2023 dot.cshrc
-rw-r--r--  1 root wheel  311 Dec  1  2023 dot.login
-rw-r--r--  1 root wheel   79 Dec  1  2023 dot.login_conf
-rw-------  1 root wheel  289 Dec  1  2023 dot.mail_aliases
-rw-r--r--  1 root wheel  255 Dec  1  2023 dot.mailrc
-rw-r--r--  1 root wheel  966 Dec  1  2023 dot.profile
-rw-r--r--  1 root wheel 1003 Dec  1  2023 dot.shrc
 
Back
Top