You are not logged in.
I know this is generally considered a terrible idea... Nonetheless, is there a "correct" way to do it?
I'm aware I could put something like
chown root:power /sys/power/state
chmod g+rw /sys/power/state
in rc.local, but that seems terribly crude. Even for doing something that's... Well, crude.
Offline