Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Why do we use root as user for apache2?
I have a question, If we follow the instructions to implement a web server with apache on Ubuntu 18.04, why do we use the root user (or sudo user granted privileges) in the installation process? From what I’ve seen they use www-data user, because of security. Is that OK?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×