Re: how to restrict user logons

2000-08-28 Thread Art Sackett
On Mon, Aug 28, 2000 at 09:54:21AM +0200, Andrea Glorioso wrote: > > 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? That was my first inclination, but (perhaps

Re: how to restrict user logons

2000-08-28 Thread Andrea Glorioso
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 app

Re: how to restrict user logons

2000-08-28 Thread Art Sackett
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) t

Re: how to restrict user logons

2000-08-28 Thread Luca Filipozzi
On Mon, Aug 28, 2000 at 03:02:24PM +0800, Erik Peter P. Abella wrote: > I need to be able to restrict some users from logging-on from 8am-11pm > daily (a new discounted subscription plan) and I could use some > suggestions on how to best deal with this. I intend to toggle the user > shell (/bin/fal

Re: how to restrict user logons

2000-08-28 Thread Andrea Glorioso
On Mon, Aug 28, 2000 at 03:02:24PM +0800, Erik Peter P. Abella wrote: > Hello All, > > I need to be able to restrict some users from logging-on from 8am-11pm > daily (a new discounted subscription plan) and I could use some > suggestions on how to best deal with this. I intend to toggle the user >

Re: how to restrict user logons

2000-08-28 Thread Art Sackett
On Mon, Aug 28, 2000 at 09:54:21AM +0200, Andrea Glorioso wrote: > > 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? That was my first inclination, but (perhaps

Re: how to restrict user logons

2000-08-28 Thread Andrea Glorioso
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 ap

Re: how to restrict user logons

2000-08-28 Thread Art Sackett
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)

Re: how to restrict user logons

2000-08-27 Thread Luca Filipozzi
On Mon, Aug 28, 2000 at 03:02:24PM +0800, Erik Peter P. Abella wrote: > I need to be able to restrict some users from logging-on from 8am-11pm > daily (a new discounted subscription plan) and I could use some > suggestions on how to best deal with this. I intend to toggle the user > shell (/bin/fa

Re: how to restrict user logons

2000-08-27 Thread Andrea Glorioso
On Mon, Aug 28, 2000 at 03:02:24PM +0800, Erik Peter P. Abella wrote: > Hello All, > > I need to be able to restrict some users from logging-on from 8am-11pm > daily (a new discounted subscription plan) and I could use some > suggestions on how to best deal with this. I intend to toggle the user