views:

2045

answers:

5

I develop using MAMP pro on my Mac. When I start MAMP it prompts me for a password if I use port 80. If I use a higher port it doesn't prompt me, but I have to append the port number in the URL ( eg dev.local:8888 ). Does anyone know how to make it not prompt for password when using standard ports? Thank you.

+2  A: 

Its a security issue, and MacOS with its UNIX heritage like security (=Good Thing). That's why MacOS asks for passwords all the time. Not much you can do about it as far as I know.

Robert Gould
+3  A: 

According to a living-e rep they are considering adding an option to store the password in the keychain:

http://forum.webedition.de/phpBB/viewtopic.php?f=4&t=5517&p=12019

Update: I pestered Living-e support and got them to add it as a feature request to their bug tracker. The link is here: http://qa.living-e.de/tracker/view.php?id=3648 (requires registration) if you want to follow it.

Another update: Still following this issue. Looks like living-e moved their bug tracker, the new link to this issue is:

http://bugs.mamp.info/view.php?id=3652

It's in German but the Google translation is:

When will start and stop the server in each case the admin password is required if port is used as low-1024th If we could get the password from the OS X Keychain / keyring, allowed themselves to avoid annoying popup ads.

GloryFish
Thanks, doesn't look like its going to happen though, that was a while ago...
Pickledegg
+1  A: 

I'm now using these two applescripts to start/stop MAMP, you can save startup script is a login item so it's always up when I boot. It does mean storing your password in plain text, as Im the only one using this machine I can live with it, better than typing in my password at least three times a day.

Tom
A: 

I've put together an app that allows you to start/stop MAMP's Apache and MySQL without the password request, even on port 80. It stores the password in Keychain, so you only need to enter it once. It has a nice icon too!

Download: http://www.46palermo.com/blog/run-mamp-without-password-easy-way/

Damian
A: 

Go in Terminal to /Applications/MAMP/bin chmod 777 *.sh

Hope it works :)

Marcelo Rodrigo