Results 1 to 3 of 3

Thread: Deny shutdown or reboot on login screen (sddm)

  1. #1

    Default Deny shutdown or reboot on login screen (sddm)

    Setting PERMISSION_SECURITY to 'secure' configures polkit to requires users administrative rights to power off and reboot the system, but it still allows them to do so from the login screen.

    Is it possible to deny users from rebooting or shutting down the system from the login screen too (sddm)?

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,187

    Default Re: Deny shutdown or reboot on login screen (sddm)

    Unfortunately it seems this is not configurable in SDDM (which is crazy) as per this bug ticket on GitHub: https://github.com/sddm/sddm/issues/611

    You could try what sddm.conf according to the man page allows:
    Code:
     [General] section:
           HaltCommand=
                  Halt command.  Default value is "/bin/systemctl poweroff".
    
           RebootCommand=
                  Reboot command.  Default value is "/bin/systemctl reboot".
    Perhaps change them to false and/or something else. Although people reported in that thread that even that doesn't work.
    .: miuku @ #opensuse @ irc.libera.chat

  3. #3
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    4,029

    Default Re: Deny shutdown or reboot on login screen (sddm)

    ... or, you could switch display managers. In the Yast Software Manager, for example, you can still install kdm, then switch to it.
    "Take a Walk on a Sunny Day, Greet everyone along the way, and Make Somebody Smile, Today"
    Gerry Jack Macks"Walk On A Sunny Day" GerryJackMacks.net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •