/etc/skel directory to push configuration to user
By default all files from /etc/skel are copied to the new user's home directory; when a new user account created. There are few files included in /etc/skel/ by default. you can copy custom script or whatever you want for every new user, just copied inside /etc/skel/
- /etc/skel/.bash_logout
- /etc/skel/.bashrc
- /etc/skel/.profile
- /etc/skel/.cshrc
- /etc/skel/.exrc (/etc/skel/.vimrc)
No comments:
Post a Comment