Score:0

How to switch from root to user in Ubuntu running in Termux?

in flag

I recently installed Ubuntu via Termux on my android phone.

This version is specified when I enter the username and password. Welcome to Ubuntu 20.04.2

I once went from root to user mode by adduser

root@localhost:~# <USER>@localhost:~#

But now I do not know how to switch to this mode again.

How to switch from root@localhost:~# to <USER>@localhost:~#

cloud.009 avatar
sy flag
Open terminal and type `exit`. Also don't login with your root login credentials login with your user in the first place.
Score:1
us flag

To switch to an user with username john, enter the command

su john

And the prompt would change from # to $ (root to ordinary user).

To get back to root, type exit.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.