Question: In a Bash Shell /etc/passwd specifies the default interactive shell as /sbinologin for accounts that cannot be logged into. In other words, having your shell
In a Bash Shell
/etc/passwd specifies the default interactive shell as /sbinologin for accounts that cannot be logged into. In other words, having your shell set to /sbinologin will prevent you from logging into the system. What command would you run to display only the lines from /etc/passwd for users with the default interactive shell set to /sbinologin? (Your answer needs to work regardless of where you are on the filesystem.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
