this post was submitted on 07 Apr 2025
15 points (100.0% liked)

Linux

6874 readers
131 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

I am having issues with my linux machine running openSUSE MicroOS. It runs fine but I can't power it off via SSH. I tried shutdown, poweroff and halt but no command turned the machine off. I then have to physically push the power button but I don't feel comfortable doing that too often because I might interrupt some processes which are still running? Is there something I could still try or something I did wrong?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 day ago* (last edited 1 day ago) (2 children)

SystemCTL systems need to use: "systemctl shutdown".

Not sure if openSUSE uses it.

[–] [email protected] 6 points 1 day ago

poweroff or shutdown will work on almost every distro. Even systemd ones (they are usually symlinks but doesn't really matter because they work).

[–] [email protected] 1 points 1 day ago

@doomsdayrs @theorangeninja Not entirely correct, most will have shutdown scripts that call systemd, but that is a direct way to accomplish it.