You issue the following command useradd -m bobm But the user cannot logon. What is the problem?
Operating System Interview Questions and Answers
(Continued from previous question...)
You issue the following command useradd -m bobm But the user cannot logon. What is the problem?
You issue the following command useradd -m bobm But the user cannot logon. What is the problem?
Choose one:
a. You need to assign a password to bobm's account using the passwd command.
b. You need to create bobm's home directory and set the appropriate permissions.
c. You need to edit the /etc/passwd file and assign a shell for bobm's account.
d. The username must be at least five characters long.
Answer: a
The useradd command does not assign a password to newly created accounts. You will still need to use the passwd command to assign a password.
(Continued on next question...)
Other Interview Questions
|