Am 10.08.20 um 15:37 schrieb Lennart Poettering:
> On Mo, 10.08.20 15:05, Reindl Harald ([email protected]) wrote:
>
>> well, i would expect that the reboot in the scond ssh-session is
>> refused...
>>
>> [root@master:~]$ /usr/bin/systemd-inhibit --what=shutdown --who=root
>> --why="Ba
On Mon, 2020-08-10 at 15:37 +0200, Lennart Poettering wrote:
> On Mo, 10.08.20 15:05, Reindl Harald ([email protected]) wrote:
>
> > well, i would expect that the reboot in the scond ssh-session is
> > refused...
> >
> > [root@master:~]$ /usr/bin/systemd-inhibit --what=shutdown --who=roo
On Mo, 10.08.20 15:05, Reindl Harald ([email protected]) wrote:
> well, i would expect that the reboot in the scond ssh-session is
> refused...
>
> [root@master:~]$ /usr/bin/systemd-inhibit --what=shutdown --who=root
> --why="Backup in progress" --mode=block sleep 600
>
> [root@master:~]$
well, i would expect that the reboot in the scond ssh-session is
refused...
[root@master:~]$ /usr/bin/systemd-inhibit --what=shutdown --who=root
--why="Backup in progress" --mode=block sleep 600
[root@master:~]$ /usr/bin/systemd-inhibit; systemctl reboot
WHO UID USER PID COMMWHAT