How to change all /bin/bash at /etc/passwd to /sbin/nologin?

James Corteciano freebsd at
Mon Oct 9 00:24:32 PDT 2006

Dear guru's:

How to change all word lines of /bin/bash at /etc/passwd file to
/sbin/nologin in just  a single line command?

I am looking forward for your great responses.

Thank you.


James G. Corteciano
FreeBSD User

More information about the freebsd-questions mailing list