LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Root Authorization Required to Reboot and Shutdown (https://www.linuxquestions.org/questions/linux-desktop-74/root-authorization-required-to-reboot-and-shutdown-483237/)

rioch 09-13-2006 04:22 PM

Root Authorization Required to Reboot and Shutdown
 
I deleted a couple of config files recently and think I may have removed an important one, because now whenever I reboot or shutdown, I get prompted to enter in the root password. What is really strange is that KDE exits, xwindows shuts down, and then restarts in order to show a kde dialog box asking for root auth.

Does anyone know where the settings are for this so I can change it? It's driving me mad!

Thanks.

stress_junkie 09-13-2006 08:40 PM

Run kcontrol. This is on the start menu as "Personal Settings". Then select "System Administration". Then select "Administrator Mode". Enter the root password. Then click on the tab labeled "Shutdown". In the top left is a pop down menu labeled "Allow Shutdown". The pop up menu below it should read "Everybody". If it already does then change it, then change it back to "Everybody". This will make the "Apply" button at the bottom light up. Click on the "Apply" button. Then press the "OK" button. Then close the window.

That should do it. Whatever files were missing should be recreated by this.

OR

You can log in as root and edit the /etc/sysconfig/displaymanager file. You should see the following line in that file:
Quote:

DISPLAYMANAGER_SHUTDOWN="all"

rioch 09-14-2006 09:43 AM

Brilliant! That did the job! Thanks!


All times are GMT -5. The time now is 01:19 AM.