Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 15:24:30 +0800
From:      "James Corteciano" <freebsd@gascort.com>
To:        freebsd-questions@freebsd.org
Subject:   How to change all /bin/bash at /etc/passwd to /sbin/nologin?
Message-ID:  <38221ea10610090024l5f7aebdfp6c551e3955b9cc10@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.

Regards,

-- 
James G. Corteciano
FreeBSD User



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38221ea10610090024l5f7aebdfp6c551e3955b9cc10>