Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
-1
rated 0 times [  -1] [ 0]  / answers: 1 / hits: 5084  / 2 Years ago, wed, july 13, 2022, 11:03:14

I messed up the /etc/sudoers file, now I need to restore it. Booted up the system with an Ubuntu Live CD, installed LVM and mounted the Volume. I'm root and I can't write to the sudoers file in my mounted hd.



I can't change the permission with chmod because system tell me it's a read-only file system.



What should I do?


More From » live-cd

 Answers
7

I figure out how to do it, recovery mode, exit from read only file, drop on the root sheel and now I have the write permission :D


[#40121] Thursday, July 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skipu

Total Points: 366
Total Questions: 114
Total Answers: 112

Location: Saudi Arabia
Member since Mon, Sep 5, 2022
2 Years ago
;