Bug 394252 - kiosk restrict suspend, hibernate, restart, poweroff
Summary: kiosk restrict suspend, hibernate, restart, poweroff
Status: RESOLVED INTENTIONAL
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-14 13:56 UTC by Harald Sitter
Modified: 2018-05-24 10:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2018-05-14 13:56:11 UTC
It'd be handy to be able to kiosk restrict suspend, hibernate, restart, poweroff access (much like we can already control logout access).

My specific, fairly non-standard use case, is preventing live session ISO users from hibernating or suspending the live system as that is not particularly useful and may have unintended side effects (e.g. unlocking the session may proof tricky as the user doesn't actually know the password).

This may however also have obvious uses in actual KIOSK scenarios where the user may technically be able to initiate a power action, but disabling the functionality on a KDE-tech level might be enough to not have this cause any trouble.
Comment 1 Kai Uwe Broulik 2018-05-24 10:17:45 UTC
There's PolicyKit which can do this and is used everywhere. Adding a KIOSK check there would make things more complicated and add yet another variable to the "why cannot I do X" question.