How To Use Etc Skel
The contents of etc skel can be viewed by using the ls i e list command with its a option which shows all files and directories including hidden ones i e ls a etc skel.
How to use etc skel. The location of etc skel can be changed by editing the line that begins with skel in the configuration file etc default useradd. Using the etc skel directory on linux is the smart way to ease the burden of populating the home directory of new user accounts. You can change the default location etc skel to any other location. Cat etc default useradd useradd defaults file group 100 home home inactive 1 expire shell bin bash skel etc skel create mail spool yes. This video will show you ab.
To change the location of etc skel edit etc default useradd.
Source : pinterest.com