Am 29.03.2015 um 11:42 schrieb Matthias Bodenbinder: > Am 28.03.2015 um 18:51 schrieb Michael Biebl: >> You can run something like >> >> systemd-inhibit --what=shutdown --mode=block /bin/sleep 3600 >> >> to block shutdown for 1h. > > This does NOT work. I tested it with debian testing. Are you sure you are using systemd as PID 1? > It does not prevent shutdown through hte KDE GUI. I tested GNOME, but I was under the impression KDE used logind nowadays as well. > And even on the commandline a "poweroff" is still successfully executed. Was poweroff executed as root (or via sudo)? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature