I have a PC with Ubuntu 18.04 in a semi-public environment. There is a non-admin user account that can be used by anyone without logging in.
How can I prevent the user from shutting down the system, putting it in standby, or locking the screen?
Disabling the GUI buttons would be sufficient, if there's a way to do that.
Apparently, this was a hard-to-google kind of issue, but after manually browsing through the settings with dconf-editor, I found what I had to change.
To prevent the user from logging out, locking the screen, or powering off the system, change three settings with these commands in a terminal:
Perhaps this will help someone else in the future.