LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How to stop password prompt when shutting down Xubuntu (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-stop-password-prompt-when-shutting-down-xubuntu-4175443316/)

Red Squirrel 12-28-2012 08:50 PM

How to stop password prompt when shutting down Xubuntu
 
This has been very frustrating since I installed Linux, I cannot figure out how to get rid of this annoying prompt it's useless, this is not a server, this is not a multi user environment, I should not be forced to do this every single time.

It only seems to happen when F@H (which runs as a different unified user throughout my network) is running. I DO NOT want to make it run under my user, then all hell will break loose when I need to make the network permissions work on the share. I want to keep it running as the user it's running under, but I want to get rid of this annoying prompt.

The only thing that seems to work to bypass this prompt is if I hit the power button. I also tried writing a sudo shutdown now script but all hell breaks loose, some process looks for a file that can't be found or something and I get the infamouse ctrl+D prompt. Thankfully my system was not hosed. Usually that prompt does not mean good at all!

So yeah I'd really appreciate if someone could tell me how I'd go about disabling this. Thanks!

Oh and also, possibly related, when at the normal startup password prompt, if I choose to shutdown or restart, nothing happens. It just goes back to the logon box. This used to work before but randomly stopped. Any way to fix this?

Shadow_7 12-29-2012 05:05 PM

The power button triggers an acpi event to shutdown. Easiest answer is to hit that button.

When I was running ubuntu I didn't boot to a gui so I had to re-enter the password to shutdown since the console that started X had not entered the password in the last 20 minutes. Or however long ubuntu keeps that valid these days. You could boot to X with a display manager and it can handle the permissions aspect of shutting down. Otherwise I'm not sure of any other simple answers (aside from never shutting down).


All times are GMT -5. The time now is 11:29 AM.