# Włam na lokalne konto root'a

DevFeed: [Włam na lokalne konto root'a](<https://devfeed.tech/articles/w-am-na-lokalne-konto-root-a-27492.md>)

Original publisher: [Read original article](<https://gagor.pro/2011/08/wlam-na-lokalne-konto-roota/>)

Author: Tom

Published: 2011-08-27T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [passwd](<https://devfeed.tech/topics/passwd.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [passwd](<https://devfeed.tech/tags/passwd.md>)

## AI overview

This Polish tutorial describes a method for resetting a Linux root password when the existing password is unavailable. It explains editing the GRUB kernel parameters to boot directly into Bash with root privileges, using passwd to change the password, and then rebooting. The article notes that the method does not work on every Linux system, particularly systems using initramfs-tools.

## Source excerpt

Jeżeli tu zaglądasz pewnie zdarzyło Ci się kiedyś, że przykładowo wygrzebujesz jakiś stary serwer i nie masz pojęcia co na nim było, ani do czego służyło, czy jeszcze działa... Albo jeszcze inaczej - serwer działał tak długo, że wszystkie osoby znające hasło na root'a przeszły na emeryturę lub zmarły... Nieistotne 😃 Jest pewna prosta sztuczka, pozwalająca wbić się na konto root'a nie znając hasła - dając nam możliwość jego zmiany. Potrzebne dwa restarty ale za to nie trzeba korzystać z żadnychlive cd.