Linked Questions

0 votes
1 answer
528 views

How can I shut down the system from command line without sudo? [duplicate]

I'm not the administrator, so I'm not in the sudo list. How can I shut down the computer from command line without sudo? As I can shut down the computer from GUI, I must be able to get the privilege ...
  • 21
0 votes
0 answers
77 views

How can I use poweroff without sudo? [duplicate]

I am a newbie in Ubuntu. I want to use poweroff in my terminal, for traditional shut down of my computer. First of all, is this correct? Secondly, I am forced to use sudo poweroff and then enter a ...
  • 101
25 votes
2 answers
27k views

How to enable hibernation in 15.04?

I did a clean install of 15.04, tried to enable hibernation per instruction from http://ubuntuhandbook.org/index.php/2014/10/enable-hibernate-option-in-ubuntu-14-10-unity/ but it works only if I boot ...
12 votes
3 answers
36k views

How do I configure Ubuntu to reboot every day at a given time?

Using the terminal or a bash file, how can I configure Ubuntu to reboot every day at (say for instance) 3 AM? In other words, I want to schedule an automatic reboot through the terminal. I haven't ...
4 votes
4 answers
9k views

How to Shut down Ubuntu by using keyboard?

How to shut Down Ubuntu by using Keyboard only. [Like Windows style] In windows XP if we press Start+u+u this keys for shutdown. and Start+u+r for restart computer. Start+u+h for Hibernet etc. How can ...
  • 2,829
2 votes
2 answers
2k views

Least bad way to shutdown quickly

Sometimes I would like to shut down in a hurry. By hurry I mean 5 to 10 seconds. Assume I can run any script with root privileges in tty which I've prepared beforehand, and after 5 or 10 seconds the ...
  • 1,140
1 vote
2 answers
1k views

How to shutdown automatically from command line in 13.04

I know there is already a similar question about this topic. But that question was only about how to get the shutdown dialog in general. I need to get back the countdown of the old shutdown dialog (...
  • 6,017
2 votes
2 answers
946 views

How to monitor the status of shutdown sequence

This is the script I made to lock and shutdown my system after 30 minutes. #!/bin/bash # Read Password read -s -p "Password: " password echo # shutdown and screensaver Command echo "$password" | sudo ...
  • 2,877
1 vote
2 answers
396 views

How to shutdown the computer after Xsession ends?

I'm making a computer like an arcade machine with an academic game. I'm using Xsession to replace the desktop by an application. It's working fine. But when I go out from the game it returns to the ...
  • 23
1 vote
2 answers
385 views

Auto shut down if usage timer exceeds daily limit

I would like to activate a cron job valid for specific users only (for my kids) that it will check if the kids use the pc more than e.g. 60 min per day and then poweroff system. This means that if the ...
  • 1,198
6 votes
0 answers
337 views

Why do I need sudo to reboot from the command line? [duplicate]

When I enter reboot on the command line, I get: reboot: Need to be root and asked the root / sudo password. When I reboot via the gui I can do that without my sudo password. Why is that? What's ...
  • 354
1 vote
2 answers
158 views

Schedule shutdown

I found the command ( shutdown -h 02:00 ) to schedule shutdown my machine but want to know that Is it compulsory that user must have logged in with root login? Or this command would works for all ...
  • 113
0 votes
1 answer
109 views

Backup before shutdown?

Deja Dup runs in the morning & hogs my CPU. Is there a way to add a new button to the Ubuntu "power off" menu that will "backup then shut down" in addition to the 'shut down' ...