Translate

How to reset terminal password in linux/debian

Welcome to 1M-ideas

We often forget the root password or sometimes create a normal user and their password whether we forget about the root user. We can use command 'su' to skip sudo each time in normal user commands and get into root user, but sometimes we forget and need to reset the password, there is a method to reset password.....

Note:-We'll use some commands to perform this task and this commands will work in GRUB mode and also in terminals when the system is waked up. So definitely also on installed Linux, Ubuntu terminals, in windows-Linux-subsystems.

Related image
use following commands to reset password
if you are in normal user mode the type this

sudo passwd user_name

and simply reset the password of any user including root

example:- to reset root user password paste this command

sudo passwd root

then type your new password and re-enter it at your password will be reset.

like our FB page to stay updated




Post a Comment

0 Comments