2008.12.30 · 1 分钟阅读
[ubuntu] Hibernate from command prompt
A `sudo pmi action hibernate` does the job, so all that needs doing is
to add pmi to sudoers.
to add pmi to sudoers.
# runsudo visudo
# and add the following{your user name here} ALL=NOPASSWD: /usr/sbin/pmi