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
Before you post please read how to get help
Before you post please read how to get help
Shutdown from command line
Ducks on the edge sleep with one eye open.
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?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less
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).
Ducks on the edge sleep with one eye open.