Answer by Rovny Art for Sudoers file syntax error on WSL
I found quite a simple solution for my case. Just open Windows console (cmd), then: wsl -u root # nano /etc/sudoers And fix file=). Hope it helpes.
View ArticleSudoers file syntax error on WSL
So, I've messed up my sudoers file in the windows subsystem for linux. I was trying to add something, and the guy of the tutorial said to edit sudoers file with nano/vim, and that's what I did (later...
View ArticleAnswer by рüффп for Sudoers file syntax error on WSL
On my side I just edit the sudoers file from Notepad++ in Windows:Open the file from <LinuxSubSystem_Home>\Ubuntu18.04\rootfs\etc\sudoersI corrected the bad entry and saved it.My WSL was starting...
View ArticleAnswer by Sajid Ali for Sudoers file syntax error on WSL
Close the WSL terminal, open Windows command prompt and make the default WSL user as root using the below commandubuntu2004 config --default-user rootOpen a new WSL terminal, you will be logged in as...
View Article