Linked Questions

0 votes
1 answer

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 ...
dlz's user avatar
  • 21
0 votes
0 answers

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 ...
Ninja Bug's user avatar
  • 101
25 votes
2 answers

How to enable hibernation in 15.04?

I did a clean install of 15.04, tried to enable hibernation per instruction from but it works only if I boot ...
user310773's user avatar
12 votes
3 answers

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 ...
Mathias Lykkegaard Lorenzen's user avatar
4 votes
4 answers

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 ...
Madhav Nikam's user avatar
  • 2,907
2 votes
2 answers

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 ...
ike's user avatar
  • 1,200
1 vote
2 answers

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 (...
Germar's user avatar
  • 6,317
2 votes
2 answers

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 ...
Eka's user avatar
  • 2,967
1 vote
2 answers

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 ...
ulrich's user avatar
  • 23
1 vote
2 answers

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 ...
bob's user avatar
  • 1,198
0 votes
1 answer

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' ...
Mithun Kalan's user avatar
6 votes
0 answers

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 ...
fweigl's user avatar
  • 384
1 vote
2 answers

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 ...
Wit Wikky's user avatar
  • 113