[Samba] Question about Logon hours....auto logoff feature?
adam.nielsen at uq.edu.au
Tue Jan 10 01:58:12 GMT 2006
> Can enforcing logon hours (which works great for me here to *prevent*
> logging in past your hours) also force a logoff?
Not in itself, no.
> Can this at least be scripted somehow?
You should be able to shut down PCs remotely by using the 'net rpc
shutdown' command (see man net and search for 'shutdown' for more
info.) You'd need a script to check which users were on which PC and
if they're outside their allowed hours though.
More information about the samba