Is there any way to setup the Xampp Control Panel so that it doesn't ask for a password every time it runs?
Thanks,
Mark
-- Start XAMPP
set passwort to "" -- Rootpasswort eingeben, oder leer lassen
set befehl to "/Applications/XAMPP/xamppfiles/xampp start"
try
if passwort is "" then
set ausgabe to do shell script befehl with administrator privileges
else
set ausgabe to do shell script befehl password passwort with administrator privileges
end if
on error fehler
display dialog fehler
end try
-- Stop XAMPP
set passwort to "" -- Rootpasswort eingeben, oder leer lassen
set befehl to "/Applications/XAMPP/xamppfiles/xampp stop"
try
if passwort is "" then
set ausgabe to do shell script befehl with administrator privileges
else
set ausgabe to do shell script befehl password passwort with administrator privileges
end if
on error fehler
display dialog fehler
end try
To use one of these solutions, do the following:
Open Terminal.app (I like to hit Command+Space, then type "Terminal.app", then hit Enter).
Run sudo nano /etc/sudoers.
Append the following text to the file, where username is your short username (type whoami into the terminal to get it):
username ALL= NOPASSWD: /Applications/XAMPP/xamppfiles/xampp
Press Ctrl+x, and save when prompted.
tlau wrote:I found the following guide, but it is for Linux, does anybody know what the equivalent of this guide would be for Mac OS X?
http://linuxinformations.blogspot.com.a ... 3634112749
Users browsing this forum: No registered users and 11 guests