You could just amend your sudoers file with visudo then you can use:
sudo /sbin/shutdown -h now
--
Regards,
James.
http://www.jamesbensley.co.cc/ - There are only 10 kinds of people in
the world, those who understand trinary, those who don't understand
trinary and those who don't understand trinary.