[Samba] Question about Logon hours....auto logoff feature?
gasch at eva.mpg.de
Wed Jan 11 20:40:42 GMT 2006
>>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.
or kill the corresponding smbd (from linux side) (by cronjob, etc.)
the user cannot access share resources then anymore (but still logged on)
if you kick users by shutdown they may loose files, they work on
More information about the samba