티스토리 뷰

Reset the password for ROOT or any user in Linux Mint

Reset the password for ROOT or any user in Linux Mint

I am sure that people in the know can restore almost any passwordit is important to know HOWBut I was wondering just how to recover passwords in my favorite OS is Linux MintIn this article we will focus on the recovery of lost passwords for Linux Mint.

So, the following method is good because it is done very quickly and allows you to change the password to one or more users. On my operating system as most people have only one user, therefore the password root changing along with the password of the Main user.


That is, if I change the password to my single user l4l, then user root will automatically change the password. On other operating systems, I think the user root as separately. In any case I am not interested in, the main thing here everything is convenient and WORKS))))

 

Let's start, we need to get into the boot menu of GRUB. When the computer boots, hold down the "SHIFT" key. In the grub boot loader to select the desired OS and press "E" to edit the boot.

Reset the password for ROOT or any user in Linux Mint

Next we need at the end of the kernel lineafter quiet splash add rw init=/bin/bash and press "F10" to boot.

Reset the password for ROOT or any user in Linux Mint

In this case, after the kernel is loaded, the control immediately proceeds to bash that allows you to change the passwords for all users. A working example can be seen in the picture below. Just write the command:

passwd Username

where Username is the login name of the user. Then simply enter the new password.

Reset the password for ROOT or any user in Linux Mint

Restart the computer and can use the new password.

 

Even high-security Linux distributionsusing the default settingscan allow an attacker with physical access to the server, it is easy to reset passwords of all users including rootForprotection it is recommended to use encrypted partitionsdisable the grub boot loader.Unfortunately I can't tell you how to protect your PC more effectivelyIt is necessary to examine this issue separately.

 


너무 오랫동안 안 들어가서 비밀번호를 잊었다..간단한건데, 멍청해서 찾느라 개고생 후 기록을 남김.. 뭐든지 비밀번호는 잘 기억해두어야함...명심

 

출처 : http://mintguide.org/system/248-reset-the-password-for-root-or-any-user-in-linux-mint.html#sel=22:8,22:65;13:15,13:42


'기타' 카테고리의 다른 글

제 4회 디지털 범인을 찾아라 후기  (12) 2016.12.03
[CentOS 에서 Chrome 설치하기]  (0) 2016.01.21
Windows7에서 SSH Server 사용하기  (0) 2015.11.12
Twitter API - GET OAUTH – ACCESS TOKEN  (0) 2015.11.05
[NoSQL] 정리  (0) 2015.11.03
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함