[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Run reboot as normal user

Martin Wilck mwilck at suse.com
Wed Dec 1 09:41:16 UTC 2021


On Wed, 2021-12-01 at 10:24 +0100, Ulrich Windl wrote:
> > > 
> 
> And I wonder what's wrong with allowing the shutdown command for the
> user in
> sudoers.
> (sudo $(which shutdown) -r now)

Sure. I thought sudo might not be installed on that embedded system,
either. If it is, I'd prefer it over other solutions simply because
it's more transparent. Capability bits tend to go unnoticed.

Martin





More information about the systemd-devel mailing list