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.
exit
? Also, add the output ofenv
, please. – muru Oct 16 '17 at 13:30LxRun.exe /setdefaultuser <new_name>
– Jaime Oct 16 '17 at 15:12