Shape every new home directory by changing the system skeleton for predictable defaults. 19.01.2026 | reading time: 2 min Control what every new user gets by editing the system skeleton in /etc/skel; this short guide shows concrete commands to change defaults, fix ownership, and adapt the workflow for local and networked accounts. A quick hands-on Try this on a test VM to see the effect: ```bash\nsudo sh -c 'echo Default_bashrc > /etc/skel/.bashrc'\nsudo cp /etc/skel/.bashrc /etc/skel/.profile\nsudo useradd -m -s /bin/bash newjoe\nls -la /home/newjoe\n# output\ntotal 20\ndrwxr-xr-x 3 newjoe newjoe 4096 Jan 1 00:00 .bashrc\n-rw-r--r-- 1 newjoe newjoe 220 Jan 1 00:00 .profile\n``` Permissions and propagation After placing files in /etc/skel set ownership and permissions so new accounts inherit sane defaults, for example `sudo chown root:root /etc/skel/*` and `sudo chmod 644 /etc/skel/.profile`, and remember `useradd -m` copies as-is so file modes matter; use `useradd -k /path/to/alt-skel -m` to apply an alternate skeleton. When homes are created lazily On systems using LDAP or SSSD homes may be created at login instead of at account creation; enable `pam_mkhomedir.so` or configure oddjob_mkhomedir so the same /etc/skel contents are copied when the user first logs in, and use `rsync -a` to propagate skeleton updates to existing accounts if needed. Tools and deployment patterns For larger estates automate skeleton updates with configuration management or scripts: use `rsync` or `ansible` to push files, `useradd` or `adduser` for creation, and consider packaging dotfiles to a central repository then copying into /etc/skel during image build or provisioning. Wrap-up and next step Modify the skeleton once, then test by creating a throwaway account and iterating until defaults are right; mastering these small controls helps in administration and is a practical skill for certification paths like CompTIA Linux+ or LPIC-1, with intensive exam preparation available at bitsandbytes.academy to push your knowledge further. Join Bits & Bytes Academy First class LINUX exam preparation. setup filesystem scripting