Quoting Matthias Bodenbinder (matth...@bodenbinder.de):
> Am 29.03.2015 um 17:35 schrieb Michael Biebl:
> > 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=blo
Am 29.03.2015 um 17:35 schrieb Michael Biebl:
> 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
Quoting Matthias Bodenbinder (matth...@bodenbinder.de):
> [...] And even on the commandline a "poweroff" is still successfully executed.
You haven't said whether the commandline is being typed on a console
VC, or remotely. It makes a big difference. For example:
jessiebox ~$ ls -l /sbin/poweroff
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 su
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.
It does not prevent shutdown through hte KDE GUI. And even on the command
Hello Michael,
that is a very good suggestion. Thank you. But I also have debian stable.
Do you have any idea for debain stable as well?
Matthias
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Arch
Am 28.03.2015 um 18:29 schrieb Matthias Bodenbinder:
> Hi,
>
> how can I temporarily disable shutdown or reboot?
>
> My use case is the following: I create a file /tmp/NO_SHUTDOWN. If that file
> exists, a shutdown or reboot should not be possible.
> I have molly-guard installed and a script i
It's as simple as correcting user/group permissions.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5516e78a.1020...@mrqueue.com
8 matches
Mail list logo