D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Restricting logon times for normal users

 

On Monday 06 November 2006 09:20, John Palmer wrote:
> > > I assume "logout" is policed by mother?

> Once that works, think how to disable logging in after closing time.
> I think I need to read up pam ; but being old-fashioned I liked the idea
> of a cron job that swaps passwd files.  Someone will no doubt tell me how
> insecure that is !
My guess is that, if your already logged in, then swapping passwd files will 
NOT log out the user so they can carry on playing....
However I cant remember how to do this properly! Sorry!
A cron script that looks for the users and logs them out sounds familiar tho..
Tom te tom te tom


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html