Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228996
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Executing 'systemctl poweroff' from script run by cron. |
| Date | 2020-11-24 12:00 +0100 |
| Message-ID | <BeEdc-1Hi-9@gated-at.bofh.it> (permalink) |
| References | <BesYt-3io-13@gated-at.bofh.it> <BeA9z-7Ly-1@gated-at.bofh.it> <BeCuK-RW-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi. On Tue, Nov 24, 2020 at 10:05:26AM +0100, tomas@tuxteam.de wrote: > On Tue, Nov 24, 2020 at 09:32:49AM +0300, Reco wrote: > > On Mon, Nov 23, 2020 at 10:55:50PM -0000, 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 [...] > > 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 life - it may look pretty from the outside, but requires a strong stomach to peek inside :) > > It's a FreeDesktop standard, believe it or not. > > A user should be allowed to reboot or poweroff the computer which they > > have direct console access. ... > Thanks (this time genuine thanks!) to people like you: you help > me to stay informed without having all the pain myself :-) You're welcome! Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Executing 'systemctl poweroff' from script run by cron. "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2020-11-24 00:00 +0100
Re: Executing 'systemctl poweroff' from script run by cron. Reco <recoverym4n@enotuniq.net> - 2020-11-24 07:40 +0100
Re: Executing 'systemctl poweroff' from script run by cron. <tomas@tuxteam.de> - 2020-11-24 10:10 +0100
Re: Executing 'systemctl poweroff' from script run by cron. Reco <recoverym4n@enotuniq.net> - 2020-11-24 12:00 +0100
Re: Executing 'systemctl poweroff' from script run by cron. Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-11-24 13:10 +0100
Re: Executing 'systemctl poweroff' from script run by cron. <tomas@tuxteam.de> - 2020-11-24 13:20 +0100
Re: Executing 'systemctl poweroff' from script run by cron. Fred <fred@blakemfg.com> - 2020-11-24 15:00 +0100
csiph-web