Question
sudoers is owned by uid 48, should be 0
For the second time while attempting to modify my php.ini file in a new Drupal 7 setup through Putty I managed to lose sudoers privileges with the error message “sudoers is owned by uid 48, should be 0”
Using AWS EC2 Linux instance running on Apache 2. This happened after sudo chown -R apache /etc/php.ini
Have tried various suggested appoaches, but do not have password for su since AWS uses ppk attachments for Putty and SSH
Is there possibly an easy command string fix? Doubt it, but thought I would check
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.
×