Score:0

Forgot password in Ubuntu console

kr flag
Tan

I have Ubuntu 20.04 app from MS store version on my Windows 10 Enterprise machine and in order to install a software (docksal), with normal user I am able to see a prompt like this tan@MyComputername and in order to install Docksal, it's asking me to use sudo password for tan but all of my password attempts were unsuccessful.

On the other hand, if I start the ubuntu console using administrator, it ran find and I was able to install the docksal. But I want to do it with regular user with sudo command. How can I fix this password issue which is not working? I have tried putting the administrator password when it asks for password but that didn't work.

EDITED ( Added more information):

After opening Ubuntu Console in Administrator mode it asked me to create a username as shown in the below and set my own password and it worked for installation.

enter image description here

However, when I opened it with normal user, it didn't ask for creating a username as far as I remember and was asking for sudo password later on to proceed which didn't work.

Score:0
ai flag
yxz

Assuming that using the console as the admin puts you as the super user, you can use passwd YOURUSERNAME(tan) to change your user (probably tan)'s password and then use that for sudo.

I sit in a Tesla and translated this thread with Ai:

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.