1

I'm playing around with the bash shell for Windows 10 and I noticed that I was in the root mode (whoami returns root). I'm still fairly fresh at bash but I know enough to know that using root mode is dangerous if you don't absolutely know what you're doing (like me).

exit and Ctrl+D don't work.

Any tips to log out of sudo?

EDIT: I created a new user account with adduser and it took me out of root mode.

pomsky
  • 70,557

0 Answers0