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

 

Sounds to me like this should be a feature built in to the user manager 
applications.  Out of interest what happens if you set up no logon after 
9pm  but someone logs  on 8.55 , would you need an auto log off at 9pm.  
perhaps also include in this a auto popup message to say you have x mins 
left please save work and log out,   or something to that effect.

Anyone using the latest version of kde,  perhaps this is already 
implemented,  if not then perhaps it can be suggested.

paul


Rob Beard wrote:

>Hi folks,
>
>I've finally got round to setting up a PC for my fiancée's daughter.  
>The PC is a lowish spec PC so I decided to install Xubuntu on it.
>
>Now I'm having a problem working out how to restrict login times to the 
>PC.  My fiancée doesn't want her daughter logging on after 7pm during 
>the week or after 9pm on a weekend.  I have done a bit of a search and 
>found /etc/security/time.conf which appears to allow restrictions on 
>when commands can be run.  Unfortunately this doesn't seem to work and I 
>can login as a normal user despite restricting the logon.
>
>Does anyone have any ideas on how I can restrict the logon?  I did think 
>of maybe having a cron job move about the /etc/passwd files but I'm not 
>so sure about that as if I need to log into the PC remotely I'm worrying 
>it might not work.
>
>Rob
>
>
>  
>


-- 
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