Windows10 ubuntu mistakenly changed the sudoers file subsystem solutions

ubuntu subsystem mistakenly changed sudoers how to do it, I can get into recovery

 

Violence Solution: Modify from the windows file system

Ubuntu Subsystem path:

C:\Users\75100\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\etc

 

User names may be different, change it just fine (really convenient subsystem)

Guess you like

Origin www.cnblogs.com/MemoryOfStars/p/12651925.html