LPI Exam Questions

CORRECT TEXT Add user: user1, set uid=601 Password: redhat The user’s login shell should be no

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