Sample Header Ad - 728x90

How do I enable hibernate for all users (no sudo)?

2 votes
1 answer
542 views
I managed to resize my LVM partitions, set up my swapfile, and disable secure boot, so now I can hibernate with sudo systemctl hibernate. However, I want to be able to hibernate from my power menu (wlogout) without needing to use sudo. The systemctl commands suspend, reboot, and poweroff all work without needing sudo. Why does hibernate require sudo, and is there a way to drop it, so I don't need to interact via the command line for this one power option? Using: - Ubuntu 24.04 LTS - Sway WM (not GNOME)
Asked by Hari (130 rep)
Jun 7, 2024, 03:01 AM
Last activity: Apr 10, 2025, 04:22 PM