Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 1998 16:10:44 +0000
From:      "Þorður Ivarsson" <totii@est.is>
To:        David Hawkins <dhawk@river.org>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: How to lock out a nonpaying user?
Message-ID:  <34B79D84.E8A9F2A2@est.is>
References:  <199801101411.GAA17813@ohio.river.org>

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

You can disable the user with changeing password field of his through
'vipw', we add '$' in front of the password field to see if user is
enabled or disabled.

-- 
Þórður Ívarsson		Thordur Ivarsson
Rafeindavirki		Electronic technician
Norðurgötu 30		Nordurgotu 30
Box 309			Box 309
602 Akureyri		602 Akureyri
Ísland			Iceland

---------------------------------------------
FreeBSD has good features,
Some others are full of unwanted features!
---------------------------------------------



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