[Ubuntu-BD] php5 on ubuntu

Nasimul Haque nasim.haque at gmail.com
Wed Aug 5 14:51:59 BST 2009


2009/8/5 maSnun <masnun at gmail.com>:
> Addition to my last problem:
>
> I can su root and restart the apache2 like this:
>
> masnun at ubuntu:~$ su root
> Password:
> root at ubuntu:/home/masnun# /etc/init.d/apache2 restart
>  * Restarting web server
> apache2                                                 ...
> waiting                                                             [ OK ]
> root at ubuntu:/home/masnun#
>
> But I could run apache2 from my own account when I first installed it.
>

If you take a careful look at my first reply, you will see a 'sudo'
there. sudo takes care of being root. You cannot run apache as user.
You should not.

-- 
M. Nasimul Haque, M.Sc.(SUST)
Wessex Institute of Technology
Southampton, UK



More information about the ubuntu-bd mailing list