Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 1998 10:23:26 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        David Hawkins <dhawk@river.org>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: How to lock out a nonpaying user?
Message-ID:  <19980110102326.26066@emu.sourcee.com>
In-Reply-To: <199801101411.GAA17813@ohio.river.org>; from David Hawkins on Sat, Jan 10, 1998 at 06:11:10AM -0800
References:  <199801101411.GAA17813@ohio.river.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 10, 1998 at 06:11:10AM -0800, David Hawkins wrote:
> How do you lock out a person for nonpay so that it's relatively
> easy to reactivate their account later? I tried replacing their
> respective .cshrc and .profile with   exec /bin/cat goaway.message
> but one has gotten around that. I also add them to /etc/ftpusers
> so they can't use delete in ftp to remove the .cshrc
> 
> Suggestions?
> 
> later, david
> --
> David Hawkins  -- dhawk@river.org        http://www.river.org
> Clever people seem not to feel the natural pleasure of bewilderments,
> and are always answering questions when the chief relish of life is to
> go on asking them.  -- Frank Moore Colby

I use `vipw' to place an asterisk (*) in the first character of their
password field.

  deadbeat:*$1$B0i0:1008:69::0:0:Slow Pay:/home/spay:/bin/csh
           ^
You could use vipw to change their login program to /usr/bin/false or
/nonexistent.

  deadbeat:$1$B0i0:1008:69::0:0:Slow Pay:/home/spay:/nonexistent
                                                    ^^^^^^^^^^^^
-- 
Regards,
Norman C. Rice, Jr.



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