LPI Exam Questions

CORRECT TEXT Create a user named alex, and the user id should be 1234, and the password should be al

CORRECT TEXT
Create a user named alex, and the user id should be 1234, and the password should be alex111.

Answer: A

Explanation:
# useradd -u 1234 alex
# passwd alex
alex111
alex111

OR
echo alex111|passwd -stdin alex