CORRECT TEXT
Add user: user1, set uid=601
Password: redhat
The user’s login shell should be non-interactive.
Answer: A
Explanation:
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat
CORRECT TEXT
Add user: user1, set uid=601
Password: redhat
The user’s login shell should be non-interactive.
CORRECT TEXT
Add user: user1, set uid=601
Password: redhat
The user’s login shell should be non-interactive.
Answer: A
Explanation:
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat
useradd -u 601 /sbin/nologin user1
passwd user1