Services and User Management

A systems administrator wants every account created from now on with useradd -m to start with a preconfigured ~/.vimrc file and an empty ~/projects directory. Where should the administrator place these items so they are copied into each new home directory?

Show the answer

Correct answerC. /etc/skel

useradd -m copies the contents of /etc/skel, including files and subdirectories, into each new home directory. /etc/profile.d holds shell scripts that login shells source, so it is never copied into a home directory.