lundi 22 décembre 2014

Replacing PHP.ini as ec2-user with FileZilla

I'm logging in to my server with my ec2-user account (using FileZilla). I want to replae the PHP.ini that is in the /etc folder with a pre-made file of my own.


The thing is I don't have permissions to do so and I can't figure a way to replace this file.


I can't login with the root to FileZilla (is there a way to do it?) and I'm not sure if I can use sudo as part of the FileZilla application.


I tried to chown the whole /etc folder under ecw-user, but that endedup with me getting /etc/sudo.conf is owned by uid 500 should be 0 message for every command I'm trying to do.


What should I do?





Aucun commentaire:

Enregistrer un commentaire