How to exit root in Termux?
I have typed exit to end the session however this has lodged a root file session. How do I stop this?
5 Replies
How did you login to root? Can you just login back to your normal user?
@Regan do you have any users like u0_a123 where 123 is whatever?
Just type
exit
Check .bashrc
and similar startup filesI've tried to type exit didn't work
Idk and idk how to log back to my normal user
you probably ran a random script from internet
try these:
- reading the scipt and undoing what it did
- look for scripts/code that change the PS1 variable
(be careful you might lose import data doing these ↓)
- deleting
.bashrc
- clearing termux dataI have a very simple solution, just type Ctrl+D