Loosing the root password - Security & Cryptography
Users browsing this thread: 1 Guest(s)
|
|||
Hello fello nixers,
This thread is about what to do if you lost your root password. Context: My friend lost his root password and his current user automatically logs into the system without entering any password, so he doesn't remember this one either. The solutions I could think of:
This will only work if the hard disk is not encrypted, and it's not so it's fine. I have found those too: https://access.redhat.com/documentation/...asswd.html This one is a way to boot into single user mode linux by appending to the GRUB line: Code: ro root=LABEL=/ http://askubuntu.com/questions/24006/how...e-password https://help.ubuntu.com/community/LostPassword Kind of the same spirit, choosing to boot into a rescue mode and then mounting the file system and changing the password. There's also a mention to add this line to the grub: Code: init=/bin/bash Do you have any other tips or suggestions? Here's a bunch of resources on the topic. |
|||
Messages In This Thread |
Loosing the root password - by venam - 08-09-2016, 12:39 AM
RE: Loosing the root password - by citrus - 08-09-2016, 04:18 AM
RE: Loosing the root password - by venam - 01-02-2018, 05:40 AM
RE: Loosing the root password - by evbo - 01-02-2018, 01:30 PM
RE: Loosing the root password - by xero - 02-02-2018, 01:37 PM
|