Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 1998 15:09:15 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        dhawk@river.org (David Hawkins)
Cc:        freebsd-isp@freebsd.org
Subject:   Re: How to lock out a nonpaying user?
Message-ID:  <199801102309.PAA24825@bubba.whistle.com>
In-Reply-To: <199801101411.GAA17813@ohio.river.org> from David Hawkins at "Jan 10, 98 06:11:10 am"

next in thread | previous in thread | raw e-mail | index | archive | help
David Hawkins writes:
> 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

Don't change their .cshrc or .profile.. those are personal files.
Instead, using vipw(8), change their shells and/or replace their
password fields with an asterisk.

For example, look at the "bin" password entry:

  bin:*:3:7:Binaries Commands and Source,,,:/:/nonexistent

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



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