can I start xampp with non-root user

Problems with the Linux version of XAMPP, questions, comments, and anything related.

can I start xampp with non-root user

Postby gengxinyu » 21. September 2006 12:46

to deploy mediawiki in production environment, I installed xampp for linux,for security reason, I'd like to start mysql and apache with non-root user, anyone has such experince or guidlines? many thanks in advance!
gengxinyu
 
Posts: 2
Joined: 21. September 2006 10:18

Postby wildteen88 » 21. September 2006 20:01

To start xampp you need to use sudo:

sudo /opt/lampp/lampp start

Enter your password you use to login to linux when prompt.
wildteen88
 
Posts: 4
Joined: 21. September 2006 19:46

Postby gengxinyu » 22. September 2006 02:24

maybe I did not say clearly, I want just use normal user to execute this start operation, just like normal mysql installation, you can use any privileged user to start mysql, not necessarily su or sudo to get root privilege anyway
gengxinyu
 
Posts: 2
Joined: 21. September 2006 10:18

Postby RAJ » 25. September 2006 12:47

You can do as wildteen88 says, but first you must add the user you want to be able to start/stop xampp to the /etc/sudoers file. Be very careful with this if you've not done it before - see the visudo manual.
RAJ
 
Posts: 8
Joined: 22. June 2006 09:22


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests