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

Re: how to restrict user logons

On Mon, Aug 28, 2000 at 03:02:24PM +0800, Erik Peter P. Abella wrote:


> I intend to toggle the user
> shell (/bin/false - /bin/nologin) via the crontab but am still gun-shy
> on
> writing a shell script.

Just a thought, might not even work: howzabout defining the user's shell
(in /etc/passwd) to be a symlink, say, /bin/timelock, then just wiggling
the symlink twice per day via cron to target either /bin/false or 
/bin/bash, as appropriate?

----   Art Sackett   ----

Reply to: