I am using Lion 10.8.2, and in sudoers i made like this: username ALL=(ALL) NOPASSWD, the username is my computer user... but still now prompts password.. What to do ?
Asked
Active
Viewed 964 times
1
-
where is it prompting for a password? Your Terminal shell or in the browser or while installing or somewhere else? – Michael Dautermann Dec 29 '12 at 09:16
-
its prompt when I want to load xampp to turn on Apache and MySQL. – andys Dec 29 '12 at 09:28
-
This sounds like a permissions problem. I wish I could enter this in as my own "answer", but [check the solutions to this related question](http://stackoverflow.com/questions/9046977/xampp-permissions-on-mac-os-x) and see if this helps you. – Michael Dautermann Dec 29 '12 at 09:32
-
In your mentioned link, where are only write & read permissions. My problem with sudo which always promt password... – andys Dec 29 '12 at 12:25
1 Answers
0
If you are talking about the Pop Up window while starting the servers then you cannot get away with it. An API(Don't know which exactly) is used to start the Apache server which requires administrator privileges. sudo in the terminal and this API call is different, editing any files won't help.
Port 80, default port of Apache is a Well-Known port which requires admin privileges as written in the link. So they must have forcefully added the API Call for starting the server.

Jigar
- 3,256
- 1
- 30
- 51