Hello, It’s been a day since I switched to Linux and I just joined this forum.
These are my attempts but didn’t work:
Changing the halt and reboot commands in Login Screen (SDDM) System Settings to /dev/null/.
Configuring /etc/sddm.conf to disable power buttons.
Looked for solutions on Google and on this forum
These are the attempts I have performed, I found one way was just masking poweroff and reboot, but it seems unreliable to me because it also makes it so admins and root cannot poweroff/reboot and looks dangerous.
The power buttons I want to disable are the power off and restart.
Is there any way to disable/remove the power buttons in the login screen?
Interesting - I see only sleep and ‘switch user’ on mine once activated - otherwise it’s just going to show my slideshow and a clock.
However, as anyone with access to the screen and hardware (you know, who might have access to a ‘power off’ icon) would also have access to the keyboard, it seems that it wouldn’t help to remove this from the screen anyway.
Yea, I know I want to prevent someone from powering off the system to make the server running down, I would like to minimize the ability of powering off/rebooting even though someone can just unplug the computer from power.
Hmm, the lock screen isn’t supposed to have power buttons on it; in fact this is a somewhat commonly requested feature. Can you attach a screenshot or phone photo of the thing you’re talking about?