How to Send halt signal to XP SAMBA client
I am runnign samba as pdc (on a debian sarge server) and have 8 XP pro clients which connect to the server. So far everythibg going dandy, but my students cant be bothered with turning off the pc when they are finished.
I need a script to shut down all the XPs @ say 21h every day. I imagine it might be a bash script, which I can then automate with a cron job.
My problem is I dont know how to reach the XP clients. They all got machine SMB accounts and static IPs, but thats as much as I know. Do I send a SIGTERM -15 to a specific service or ????
See my smb.conf file below.
what you could do is a .bat that you would schedule at whatever time you want on every machine to execute : shutdown -s -t 5 -m
i use this to shutdown any machines at work .. cuz im lazy and dont want to get up :P
shutdown -s -t 5 -m \\MachineName
but from Linux, not sure that would work since it's a dos command. ;/ so maybe setting up a schedule task with the .bat file would fix this annoying situation.
|All times are GMT -5. The time now is 11:36 AM.|