Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Security
Card 22 of 120
22 / 120
Which command assigns /sbin/nologin as the login shell for the existing user svc_backup?
Front
Which command assigns /sbin/nologin as the login shell for the existing user svc_backup?
Back
usermod -s /sbin/nologin svc_backup. This sets the shell field in /etc/passwd, so interactive logins are refused and the user sees a polite message instead of a prompt.
Show the back
Press the card to see the back
Study this deck