CompTIA
XK0-004 · Question #435
XK0-004 Question #435: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-004 to reveal the answer and full explanation for question #435. The question stem and answer options stay visible for context.
Question
A Linux administrator is creating a new local Linux user account for a web application. The account has the following requirements: - Use/var/www as the home directory - Have the service_accounts group as its primary group - Have the www user group as a secondary group - Disable the account when the password expires Which of the following BEST meets these requirements?
Options
- Auseradd -D/var/www/-g service_accounts -G www -c 0
- Buseradd -d/var/www/-g service_accounts -f www -g 0
- Cuseradd -D/var/www/-g service_accounts -g www -c 0
- Duseradd -d/var/www/-g service_accounts -G www -f 0
Unlock XK0-004 to see the answer
You've previewed enough free XK0-004 questions. Unlock XK0-004 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.