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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.