Run app as root
I would like to know if there is any way of running an application as root by just clicking on the app's icon instead of going to the terminal window every time.
Thank you.
Macbook C2D, Mac OS X (10.6.4)
Apple Event: May 7th at 7 am PT
Macbook C2D, Mac OS X (10.6.4)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.tcpdump.chmod_bpf</string>
<key>Program</key>
<string>/usr/local/bin/chmod_bpf</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
#! /bin/sh
chgrp admin /dev/bpf*
chmod g+rw /dev/bpf*
Run app as root