Services and User Management

An administrator adds an alias line to /etc/skel/.bashrc. A newly created user, carol, has the alias in her ~/.bashrc, but an existing user, bob, does not. What explains this behavior?

Show the answer

Correct answerB. Skeleton files are copied only when a home directory is created, so existing homes are not updated

Files in /etc/skel are copied once, when useradd -m creates the home directory, so existing users keep their current files. Restarting a service does not re-copy them, and /etc/profile is a separate login-time script that does not alter the skeleton.