I am getting the following error:
sudo: unable to resolve host XXX sudo: /etc/sudoers is mode 0666, should be 0440 Segmentation fault
To start xampp, I typed
sudo /opt/lampp/lampp start
Please help. How can I solve this?
To solve this issue you will have to boot into recovery mode (root shell) and set the appropriate permissions on that file.
That should work.