I added new launcher to panel using this command for shutdown: gksu telinit 0
When I wanted to get rid of constant inserting of password, I did not succeed. I opened visudo and added line "username" ALL = NOPASSWD: sbin/telinit 0
...but it doesn't work
I succeded with hibernate launcher in similar way - with adding line in visudo: "username" ALL = NOPASSWD: etc/acpi/hibernate.sh
What am I doing wrong with shutdown line in visudo?