Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 1257  / 1 Year ago, fri, april 14, 2023, 10:27:13

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?


More From » shutdown

 Answers
2

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

[#29510] Saturday, April 15, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stantildlike

Total Points: 363
Total Questions: 135
Total Answers: 120

Location: Pitcairn Islands
Member since Fri, Dec 17, 2021
2 Years ago
;