Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Windows WSL - sudo password problem

2 of 390 articles shown, currently no other people reading this forum.
photo
From: Khushboo S.
Date: Thu 14th May 2020, 2:45pm
Actions: 
        Login-to-reply

 

So I forgot my Unix password and I tried following some solutions online. 

https://docs.microsoft.com/en-us/windows/wsl/user-support#forgot-your-password

I used the above link to reset my password and it seems to have done the job but I 
need to install 'Make' and the command sudo asks password before installation. I 
enter the new password and it doesn't accept it. Does anyone have any ideas on this?

Windows WSL - sudo password problem

photo
From: Christopher M.
Date: Fri 15th May 2020, 12:40pm
Actions: 
        Login-to-reply

 

Just in case others are having a similar problem,  we fixed this by reseting the personal 
password, and then using the personal password when asked by sudo:

su root
<type in root's existing password>

passwd personalaccount
<type in new password>
<type in new password again>

exit

sudo apt install make
<type in new personal password>
.....
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020