Op vrijdag 5 oktober 2018 15:49:12 CEST schreef Roger Oberholtzer:
On a local network, what would be the preferred way for one system to shut down or reboot another system? Something over the network. I am thinking that a systemd service on the master system (openSUSE) would control this other system (Linux - openSUSE or Ubuntu).
ssh? I have played with rexec/rcmd and such before. I do not need anything fancy. But a password (exchanged keys perhaps) is needed. One word: Saltstack It might have some internal command but this works for me: # salt 'MINION_NAME' cmd.run 'shutdown -h now' And of course this could be built in a cronjob, a systemd timer, or some salt state.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org