2

I am trying to shut down my Ubuntu laptop, but some other users have left their accounts logged-in. (All users are local.) Normal shutdown is blocked because of this.

I can do a hard shutdown with the power switch, but is there a way to force shutdown from within Ubuntu?

2 Answers 2

5

Open a terminal (ctrl + alt + T) or use a TTY (ctrl + alt + F1.) Then you have to login using administrative account or root.

sudo shutdown -P now
2

You could always use

sudo init 0

to bring it down as well - a few less characters to type but not as pretty :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.