I use Mint (main edition with cinnamon and xfce and debian with cinnamon) as my main system and one important property to have is timed shutdown if (and when) I fall asleep when the computer is on. I have just been using "shutdown -h mins" under the impression that it's just about the same as going to the menu and clicking the shutdown option. So my questions are: why do I have to do "sudo shutdown ..." in debian when plain "shutdown..." is enough on the main edition side, and what (if anything) is different when using command to shutdown as opposed to clicking a shutdown button with a mouse. If someone happens to have answers I'd appreciate it. Not really a problem, but just curious.
-O
Shutdown from command line
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Shutdown from command line
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Shutdown from command line
I always thought it was a goofy policy; I usually doMintyO wrote:If someone happens to have answers I'd appreciate it. Not really a problem, but just curious.
chmod u+s /sbin/shutdown
so regular users can run it, but there's more:http://how-to.wikia.com/wiki/How_to_all ... r_in_Linux
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Shutdown from command line
Yeah, I kinda thought the answer was in the line of "debian style policy". Thanks for the info, now I know how if I feel like changing it. I also did some reading on what happens when you shut down a computer, but didn't go down too deep into that rabbit hole. That's mostly the reason I ended my brief experiment with Debian as a daily OS and came back to "minty debian": I didn't want every little change I wanted to make end up taking hours of reading and learning (because I usually don't do something if I don't have some kind of understanding about what it is I'm doing).