How To Use Etc Skel

Useradd defaults file group 100 home home inactive 1 expire shell bin bash skel etc skel.
How to use etc skel. The etc skel directory is the directory used by useradd to create the default settings in a new user s home directory. By default this line says skel etc skel. To change the location of etc skel edit etc default useradd. 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. Cat etc default useradd useradd defaults file group 100 home home inactive 1 expire shell bin bash skel etc skel create mail spool yes.
The location of etc skel can be changed by editing the line that begins with skel in the configuration file etc default useradd.