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 21 discussion

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

SIMULATION -

Add user: user1, set uid=601 -

Password: redhat -
The user's login shell should be non-interactive.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Dadash
1 month, 3 weeks ago
In RHEL 9 standart UID start from 1000. You can't create user with UID 601
upvoted 1 times
...
deepbrown
11 months, 1 week ago
useradd -u 601 -s /sbin/nologin user1 ; echo "redhat" | passwd --stdin user1
upvoted 3 times
...
lgu
2 years, 6 months ago
useradd -u 601 -s /sbin/nologin user1 passwd user (enter redhat) cat /etc/passwd to check shell
upvoted 2 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 ...