Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 8 discussion

Actual exam question from RedHat's EX200
Question #: 8
Topic #: 1
[All EX200 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
# useradd -u 1234 alex
# passwd alex
alex111
alex111

OR -
echo alex111|passwd -stdin alex

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ogwogwo
7 months ago
With The answers I see, it makes the uid and the gid the same while the question asks only the uid to be changed.
upvoted 1 times
...
Rahul95
10 months, 4 weeks ago
#useradd -u 1234 alex #passwd alex - it will ask for new password for user alex #cat /etc/passwd | grep alex or id alex - to verify
upvoted 2 times
...
ktd971
1 year, 3 months ago
useradd -u 1234 -p alex111 -m alex
upvoted 3 times
...
Mayowa15
1 year, 4 months ago
#useradd alex -u 1234 #passwd alex #alex111 #alex111
upvoted 1 times
...
SOAPGUY
1 year, 7 months ago
one more '-' needed; echo alex111 | passwd --stdin alex
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...