Daniel's Blog
12 Mai/10 0

Ubuntu with one click off or restart

Bugs me the whole Nachfragerei when you turn off the computer. To turn off Ubuntu with one click, you have to allow a normal user, the command "poweroff" to use:

 # / Etc / sudoers
 .
 .
 username ALL = NOPASSWD: / sbin / reboot
 username ALL = NOPASSWD: / sbin / poweroff

It is important that the lines are appended to the file.

Now you can invest in the panel on the desktop or a custom application launcher, running "sudo / sbin / poweroff" or "sudo / sbin / reboot".

Comments (0) Trackbacks (0)

This article has been posted yet any comments.


Leave a comment

Please copy the string JDbdsQ to the field below:

No trackbacks.