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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications