Quantcast
Channel: Sudoers file syntax error on WSL - Ask Ubuntu
Browsing all 4 articles
Browse latest View live

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 Article



Sudoers 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 Article

Answer 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 Article

Answer 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
Browsing all 4 articles
Browse latest View live




Latest Images