Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!maverick.ksu.ksu.edu!unlinfo.unl.edu!news
From: james@engrss2.unl.edu (James Nau)
Subject: Invalidating Users (temporarily)
Message-ID: <1991Jun21.163259.6777@unlinfo.unl.edu>
Sender: james@engrs.unl.edu
Nntp-Posting-Host: engrss2.unl.edu
Organization: College of Engineering, University of Nebraska--Lincoln
Distribution: usa
Date: Fri, 21 Jun 1991 16:32:59 GMT
Lines: 17

Does anyone know of a way to invalidate a user so that a message is
displayed, and the user is logged off, and ftp access is disabled?
I've tried replacing the shell with a program that prints out a
message.  Worked great.  But that still allowed FTP access to the account.

The only alternative that I can see is to either a) change the password
on the account, or b) mark that password in /etc/passwd to be a "*".
Both of these will disable the account, but won't allow a message to be
printed.

Also, I'm running NIS, but that hasn't mattered (that I know of) for
what I've tried.

Thanks
James

james@engrs.unl.edu
