Re: Controlling User Logins Using Pam
On 10-02-21 09:08:47, Steve Kemp wrote:
> On Sun Feb 21, 2010 at 15:46:34 +0200, David Baron wrote:
> > The good old parental control problem. How might one control user
> > login times and periods using pam (or polkit)?
> Use /etc/security/time.conf, as described here:
That takes care of login but not periods. That is, users log in but
don't have to log out at any set time (or ever). It can be used to set
access periods for other services, but I don't see how to restrict
internet access that way.
Googling I see  which points to  which suggests using cron to
force a logout, and various timekpr, with a fork under development.