1. Open Terminal and switch to root.
2. Install "sudo" packages and edit /etc/sudoer file by switching to "root". Add line after "root ALL=(ALL) ALL" with:
YOUR_USER_NAME_HERE ALL=(ALL) NOPASSWD:ALL
and save change.
3. Go to "/sbin" folder, edit "shutdown" script:
#!/bin/sh
#
case "$1" in
--halt|-h)
/sbin/poweroff
status
;;
--reboot|-r)
/sbin/reboot
status
;;
esac
exit 0
and save change.
4. Logout and login again. Try again click logout button... Now we have "Shut Down and Restart" button.