Create a user named alex, and the user id should be 123…

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

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

Answer: See the explanation

Explanation:
# useradd -u 1234 alex
# passwd alex
alex111
alex111
OR
echo alex111|passwd -stdin alex



Leave a Reply 0

Your email address will not be published. Required fields are marked *