I've installed Ubuntu Server in to a VirtualBox virtual machine. I've been able to get the GNOME desktop environment setup on it (The default Ubuntu version). This is an educational LAMP server, so I'm not concerned about the performance cost.
I'm trying to do some very minor reconfiguration of Apatche2 but in order to do this, I need write access to the files at /etc/apache2/sites-available
(I think).
I'm still very new to Linux but I'm getting there. I understand that I need to change the file permissions to alter these files. (At least, according to my book). But I have to ask if there is a way to temporarily give myself super user access for a temporary time frame. Similar to sudo -i
.
I'd prefer to do these changes from within the desktop environment...
If there is not a way to temporarily enable super user access (or root access), how can I change the file permissions so that I may alter the Apache configuration? My attempts at chmod is failing...