Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 2913  / 3 Years ago, thu, may 6, 2021, 12:02:24

I've been trying to install lamp server onto my ubuntu 12.04 LTS and i cannot get the sudo command to work. Been getting the following error everytime i hit/install anything with sudo.enter image description here



After performing the Operation suggested by @oli


More From » sudo

 Answers
0

  1. Reboot into recovery. Hold Left Shift at boot, select "Other options" then pick the latest recovery mode.

  2. Pick "root shell prompt" when the recovery menu loads.

  3. Run the following:



    mount -o remount,rw /
    chown -R root: /etc/sudoers{,.d}
    chmod -R 440 /etc/sudoers{,.d}
    chmod 755 /etc/sudoers.d
    reboot


[#29092] Thursday, May 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
guialk

Total Points: 300
Total Questions: 144
Total Answers: 121

Location: Saint Vincent and the Grenadines
Member since Sat, Sep 11, 2021
3 Years ago
;