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 ShellIn a Bash Shell /etc/passwd specifies the default interactive shell as /sbinologin

/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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!