Re: how to restrict user logons
On Mon, Aug 28, 2000 at 01:28:13AM -0600, Art Sackett wrote:
> 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?
It would be a nightmare of races. Why not just use an already proven
- albeit not security perfect and sometimes a bit elaborate, but hey,
that's software :) - solution like PAM?
Andrea Glorioso sama(at)aglorioso(dot)com