I'm using ubuntu server 14.04. I want to include some default files and folders in home directory for every user, whenever a new user account is created. How to make this. Can anyone help me in this. Thanks in advance.
Asked
Active
Viewed 504 times
1 Answers
1
The /etc/skel directory is what you're looking for. This directory is used as a template for new home directories.

EEAA
- 109,363
- 18
- 175
- 245
-
Thanks buddy... Will you give me a little elaborate detail and steps..If possible with example. – user72789 Jul 28 '14 at 14:02
-
@user72789 What research have you done on your own? This is a *very* simple process. You need to show us some effort that you've tried to *help yourself*. – EEAA Jul 28 '14 at 14:03
-
I'm a fresh graduate (Electronics & communication). I want to drive my career path in linux administration. What I have done is jz simply copy the files and folders in /etc/skel that I want to be appear in every users home folder and add user accnts as usual #useradd
– user72789 Jul 29 '14 at 03:30 -
@user72789 And did it work as expected? – EEAA Jul 29 '14 at 03:32
-
No... The user accnt is created but the files that I kept in skel folder was not present in user's home directory. I'm using RHEL 6.4 on VMware – user72789 Jul 29 '14 at 03:39