1

Typically after installing LAMP I like to install phpmyadmin and be allowed to drop folders in var/www/. I run sudo chmod 777 only because the LAMP is on a LAN. I was curious to know what is the better alternative to sudo chmod 777? I do run as root but I can't seem to find anything that will be safe but still allow me to drop files or modify apache2.conf. My apologies if this has been asked before but I didn't see it from the searches.

EDIT: I did learn how to use gksudo gedit /etc/apache2/apache2.conf and added Include /etc/phpmyadmin/apache.conf on the last line. Rebooted Apache with sudo service apache2 restart. I dont see any security issues with using gksudo.

user9447
  • 1,905
  • 5
  • 27
  • 40

0 Answers0