Results 1 to 7 of 7

Thread: Shutdown or reboot openSUSE without requiring root password.

Hybrid View

  1. #1

    Default Shutdown or reboot openSUSE without requiring root password.

    Hi everyone!

    I was tinkering with SELinux, installed the reference profile and after a reboot I was asked for the root password to mount usb drives, refresh the repos (through apper), suspend the system and to shutdown and reboot it. I manage to get most things back to normal by copying the polkit configuration files in the liveusb image (the ones in /usr/share/polkit-1/ and /var/lib/polkit-1). However it wasn't enough since I'm still asked for the password when I try to reboot or shutdown the system. I can open konsole and type:
    $ systemctl poweroff
    $ systemctl reboot
    and I'm not asked for it. But when I go to kickoff and select either one I do get asked for it (kdm is configured to use the commands above). Is there a file anywhere else I should modify?

  2. #2

    Default Re: Shutdown or reboot openSUSE without requiring root password.

    Maybe this helps:
    openSUSE 12.3: Chapter 8. Configuring Security Settings with YaST
    (esp. 8.4 Boot Settings)

  3. #3

    Default Re: Shutdown or reboot openSUSE without requiring root password.

    That may help. I'll try to look at the permissions files in /etc and see if anything is different. Thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,138

    Default Re: Shutdown or reboot openSUSE without requiring root password.

    Quote Originally Posted by derhundchen View Post
    Hi everyone!

    I was tinkering with SELinux, installed the reference profile and after a reboot I was asked for the root password to mount usb drives, refresh the repos (through apper), suspend the system and to shutdown and reboot it. I manage to get most things back to normal by copying the polkit configuration files in the liveusb image (the ones in /usr/share/polkit-1/ and /var/lib/polkit-1). However it wasn't enough since I'm still asked for the password when I try to reboot or shutdown the system. I can open konsole and type:
    $ systemctl poweroff
    $ systemctl reboot
    and I'm not asked for it. But when I go to kickoff and select either one I do get asked for it (kdm is configured to use the commands above). Is there a file anywhere else I should modify?
    You are not making it easier to get an answer for your system when you do not explain which version of openSUSE you use and which desktop.

    But in my system (it is openSUSE 12.2 and KDE), there is System Settings > Systemadministration > Login Screen > tab Shutdown. There I see interesting items.
    Henk van Velden

  5. #5

    Default Re: Shutdown or reboot openSUSE without requiring root password.

    I have the opposite problem. It is not asking me any password to shutdown when I press "shutdown" on the login interface. Anybody accessing the login could shutdown my system. SLES 11.4

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: Shutdown or reboot openSUSE without requiring root password.

    This is an old thread and it is about openSUSE not SLES. You are on the wrong forum.

    the SLES forum is can be accessed here using the same password

    https://forums.suse.com/forum.php

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,278
    Blog Entries
    2

    Default Re: Shutdown or reboot openSUSE without requiring root password.

    BTW -
    I ran into this issue recently on a LEAP.
    On openSUSE (and my guess likely SLE as well)
    Open YAST > /etc/sysconfig editor

    Do a search for "shutdown" and revise the setting for "all."

    TSU

Tags for this Thread

Posting Permissions

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