010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 14


Which command adds the new user tux and creates the user's home directory with default configuration files?

Show Answer
Correct Answer: B

The command that adds a new user and creates the user's home directory with default configuration files is useradd -m tux. The -m option ensures that the home directory is created if it does not exist. Other options do not provide the correct functionality to create a home directory with default configuration files for the new user.

Discussion

14 comments
Sign in to comment
JichzOption: B
Aug 10, 2020

it's useradd -m tux not useradd ""m tux

geoste
Sep 29, 2020

noticed the "" on a few examples, for some reason its subbing for -

SybertoothOption: B
Feb 6, 2021

I ran useradd -m tux on my kali linux distro and it worked. it created another user under my /home/ directory which is now /home/tux

MisterK3Option: B
Nov 23, 2021

It should be useradd -m tux, please fix it.

clecorreOption: B
Apr 13, 2023

As many people said here, this is not "useradd ג€"m tux" but "useradd -m tux", I can't believe this is not fixed !

HappyN210Option: B
Jul 19, 2023

Is someone going to fix the typos?

dlaciv12
Sep 24, 2020

I'm not sure what the quotes in front of the m are?

STFN2019
Jul 22, 2021

I believe when they were copying and pasting commands here in this paper, instead of - it copied ""

Joker20Option: B
Mar 4, 2021

The following command creates a home folder (-m) and set the specified home directory (-d) as the value for the new user's login: $ sudo useradd -m -d /home/bob01 bob01

mar80
Aug 28, 2021

which one is the correct answer?

linvidiaOption: B
Oct 26, 2022

Command: useradd -m tux

shimij1000Option: B
Nov 1, 2022

useradd -m tux

VovanichOption: B
Dec 20, 2022

useradd ג€"m tux

sungwon392Option: B
Dec 20, 2022

useradd -m tux

bsabOption: B
Jan 3, 2023

answer b