Help with VISUDO command...
I am trying to get my backup program to run a precommand script that will shutdown the mail server on my Mac OS X Server (10.5). The only issue is that I can't have a password request box appear (as this will all be done automatically).
So after looking into it - I think I could do it by editing the visudo command and putting something like this in:
administrator ALL=(ALL) NOPASSWD:/usr/sbin/serveradmin
but it does not seem to be working for me...any suggestions?
Thanks,
Michael
Mac OS X (10.5.1)