Re: Executing 'systemctl poweroff' from script run by cron.

2020-11-24 Thread Fred
On 11/24/20 5:05 AM, Nicholas Geovanis wrote: On Tue, Nov 24, 2020, 4:58 AM Reco > wrote:         Hi. On Tue, Nov 24, 2020 at 10:05:26AM +0100, to...@tuxteam.de wrote: . > > Thanks for the gory details.

Re: Executing 'systemctl poweroff' from script run by cron.

2020-11-24 Thread tomas
On Tue, Nov 24, 2020 at 06:05:14AM -0600, Nicholas Geovanis wrote: [...] > It must be said: Kuhscheiß, bullshit. > > Voices said that systemd was over-engineered before it was even really > available [...] My take (if it matters at all) is that I don't like that overcomplex design (not only sys

Re: Executing 'systemctl poweroff' from script run by cron.

2020-11-24 Thread Nicholas Geovanis
On Tue, Nov 24, 2020, 4:58 AM Reco wrote: > Hi. > > On Tue, Nov 24, 2020 at 10:05:26AM +0100, to...@tuxteam.de wrote: > . > > > > Thanks for the gory details. You spoilt my breakfast ;-) > > I really feel sorry for that. > But in this regard systemd is akin to many other things in lif

Re: Executing 'systemctl poweroff' from script run by cron.

2020-11-24 Thread Reco
Hi. On Tue, Nov 24, 2020 at 10:05:26AM +0100, to...@tuxteam.de wrote: > On Tue, Nov 24, 2020 at 09:32:49AM +0300, Reco wrote: > > On Mon, Nov 23, 2020 at 10:55:50PM -, Juan R. de Silva wrote: > > > 1. Why, when the script is run by the user cron job, the execution > > > requires authe

Re: Executing 'systemctl poweroff' from script run by cron.

2020-11-24 Thread tomas
On Tue, Nov 24, 2020 at 09:32:49AM +0300, Reco wrote: > Hi. > > On Mon, Nov 23, 2020 at 10:55:50PM -, Juan R. de Silva wrote: > > 1. Why, when the script is run by the user cron job, the execution > > requires authentication, while run from the same user terminal, it does > > not. > >

Re: Executing 'systemctl poweroff' from script run by cron.

2020-11-23 Thread Reco
Hi. On Mon, Nov 23, 2020 at 10:55:50PM -, Juan R. de Silva wrote: > 1. Why, when the script is run by the user cron job, the execution > requires authentication, while run from the same user terminal, it does > not. What "systemctl poweroff" actually does (src/systemctl/systemctl.c,