/etc/skel
The directory whose files useradd copies into every new home directory.
In more detail
Files placed there appear in homes created afterwards, owned by the new user. Existing homes are not changed.
Example
echo 'Policies: /srv/policy' > /etc/skel/READMERelated terms
- useradd — The command that creates a user account.
- login.defs — The file of defaults, such as password aging and ID ranges, that useradd copies into each new account.
Taught in
- Defaults For New Accounts: login.defs, useradd And skel — Red Hat Certified System Administrator (EX200) Exam Prep