On Mon, 2006-07-10 at 14:24 +0100, Tom Brown wrote: > Hi > > I want/need to be able to restart a windows service from a linux box and > i'm thinking about perhaps trying to use expect. I would imagine that i > could test the service and then in the event of failure telnet in and > issue a 'service foo restart' command. > > Is this possible or am i looking at the wrong way to try to achieve this? ---- depends upon version of samba and whether systems are joined to domain, etc. net rpc shutdown SERVER-NAME [-r] [-U USER-NAME] Craig -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list