I'm trying to get the machine to go to sleep with systemctl suspend, however every time I try to do this over an SSH session it asks for the password twice, one to set a wall message and another to actually suspend the system If I run this command directly from the system terminal it does not require any authentication Login in SSH is done with the same user that I use in the system
Is this something I need to configure in sudoers? Anything I need to change?
sudo systemctl suspend
instead ofsystemctl suspend
– muru Jul 02 '18 at 16:23allow_inactive
field that needs to be modified) – steeldriver Jul 02 '18 at 16:37