Interview Questions

When using useradd to create a new user account, which of the following tasks is not done automatically.

Operating System Interview Questions and Answers


(Continued from previous question...)

When using useradd to create a new user account, which of the following tasks is not done automatically.

When using useradd to create a new user account, which of the following tasks is not done automatically.
Choose one:
a. Assign a UID.
b. Assign a default shell.
c. Create the user's home directory.
d. Define the user's home directory.


c

The useradd command will use the system default for the user's home directory. The home directory is not created, however, unless you use the -m option.

(Continued on next question...)

Other Interview Questions