[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Freeze accounts



On Sun, Dec 23, 2012 at 11:01 AM, Beco <rcb@beco.cc> wrote:
> On Sun, Dec 23, 2012 at 11:29 AM, Lars Noodén <lars.nooden@gmail.com> wrote:
>
> I don't want to look one by one. There should be a way to process them in batch.
>
> I find David's idea of editing passwd dangerous and annoying. It would
> be ok to change a single user, but even then I would choose this way
> with caution.

You don't have to edit "/etc/passwd" to change shells to nologin. You
can use "chsh" as long as nologin is a recognized shell.


Reply to: