Information Technology Reference
In-Depth Information
Question 7
What is the
-P
command-line argument of the
useradd
command used to
specify?
❍
A.
Account password
❍
B.
Execution profile
❍
C.
Initialization file (profile) template
❍
D.
Primary group
The correct answer is B, the execution profile. Answer A is incorrect because
a password cannot be specified using the
useradd
command. All accounts
created using the
useradd
are locked until a password is defined using the
passwd
or
admintool
commands. Answer C is incorrect because a template
cannot be specified. However a profile template directory can be specified
using the
-k
command-line argument. Answer D is incorrect, because the
primary group is specified by the
-g
command-line argument.
Question 8
When used with the
usermod
command, what effect does the
-o
command-line
option have?
❍
A.
The existing user information is overwritten.
❍
B.
A duplicate UID can be specified.
❍
C.
The information about the specified user is displayed.
❍
D.
A duplicate GID can be specified.
❍
E.
The user account is deleted.
The correct answer is B. None of the other answers is supported by the
usermod
command.