Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228996
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Reco <recoverym4n@enotuniq.net> |
| Newsgroups | linux.debian.user |
| Subject | Re: Executing 'systemctl poweroff' from script run by cron. |
| Date | Tue, 24 Nov 2020 12:00:02 +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> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Tue Nov 24 10:58:09 2020 |
| Old-Return-Path | <recoverym4n@enotuniq.net> |
| X-Amavis-Spam-Status | No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| Dkim-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=enotuniq.net; s=dkim; h=Message-ID:User-Agent:In-Reply-To:Content-Type: MIME-Version:References:Subject:To:From:Date:Sender:Cc: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xPHQ16oZRDOkd9eAoxxJxuIfzivvYuetG8z65tD8lfY=; b=LWdw2Hct2NmERSeJ1nfUQU/qbI RDdWCnTY9K9i12oU/CNwgWKGk8vx4Ss8BbTenSgvH1BZkBsNL0we9+iClqKBG3LMnCOdMeeSSXPSM Dpw/408jcA4AqjMZfU37ceX1BtlP9Aj3wBjdxIQ7krxLGCou0Ek/t66gJNnGjQHs1cCKomXph53ux y8nzTzuKWzagwjQNQ1R8RJOpCE6zAN5lbOU2f30lOmxPhgbr3ZZ+XKyU3Dpvo3Zt8HFH0iVccZO16 lClH4U7Peq+5fv1HUmt9vew+LOe6z/v6m08fOQ2e12dXsF9oDfIywfCqztL1/8Doh+VXJgVY78+3w cgI+iMIw==; |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/769411 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/E1khW1D-0000fD-3l@enotuniq.net |
| Approved | robomod@news.nic.it |
| Lines | 29 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 24 Nov 2020 13:57:54 +0300 |
| X-Original-Message-ID | <E1khW1D-0000fD-3l@enotuniq.net> |
| X-Original-References | <rphelm$qt4$1@ciao.gmane.io> <E1khRsf-0000PQ-IZ@enotuniq.net> <20201124090526.GB27615@tuxteam.de> |
| Xref | csiph.com linux.debian.user:228996 |
Show key headers only | View raw
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