So, I want to be able to turn off my Mac using Terminal without it asking for a password.
At the moment when i type:
sudo shutdown -h now
I get prompted for a password.
I need to add this to a Perl script that I'm writing for myself and need to know if there is anyway i can accomplish shutting down the Mac without having to provide my Password.
Thanks in advance guys.
KrayzieKray 
At the moment when i type:
sudo shutdown -h now
I get prompted for a password.
I need to add this to a Perl script that I'm writing for myself and need to know if there is anyway i can accomplish shutting down the Mac without having to provide my Password.
Thanks in advance guys.

