Users and groups · Question 6 of 12
What does the option -m do in useradd -m anna?
1 answer is correct. Easy Created with AI
Show answer
Answer
- B It creates the home directory
Explanation
With -m, useradd creates the home directory and copies the contents of /etc/skel/ into it. Without -m, the behaviour depends on CREATE_HOME in /etc/login.defs.