[ltp] confused about power managment with T520 with Debian with no DE

Tom Roche linux-thinkpad@linux-thinkpad.org
Sat, 04 Feb 2012 19:37:26 -0500


keitho@strucktower.com Sat, 4 Feb 2012 12:17:33 -0800
> pm-suspend says only root can invoke it. How to make it so I can do
> it with my regular login?

If supported by your distro, consider `sudo` and `sudoers`. See, e.g.,

https://help.ubuntu.com/community/Sudoers#Shutting_Down_From_The_Console_Without_A_Password

and s/shutdown/pm-suspend/g

HTH, Tom Roche <Tom_Roche@pobox.com>