Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

Zapomiałem hasła do root

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
marsmar
n00b
n00b
Posts: 16
Joined: Sun Apr 08, 2018 6:12 pm

Zapomiałem hasła do root

  • Quote

Post by marsmar » Fri Nov 09, 2018 11:53 am

Pół roku temu zainstalowałem gentoo. Ostatnio chciałem użyć uprawnień root, ale okazało się że nie pamiętam hasła. Jak zresetować hasło root w gentoo ?
Top
sebas86
Guru
Guru
User avatar
Posts: 571
Joined: Sun May 01, 2005 8:22 am
Location: Szczecinek / Szczecin
Contact:
Contact sebas86
Website

  • Quote

Post by sebas86 » Sat Nov 10, 2018 11:12 pm

LiveCD/LiveUSB + chroot + passwd, zupełnie tak samo jak przy instalacji.

Względnie uruchom system w trybie pojedynczego użytkownika (single user mode).
Nieważne jaka dystrybucja, ważne, że Linux!
Top
marsmar
n00b
n00b
Posts: 16
Joined: Sun Apr 08, 2018 6:12 pm

  • Quote

Post by marsmar » Tue Nov 13, 2018 10:54 am

sebas86 wrote:LiveCD/LiveUSB + chroot + passwd, zupełnie tak samo jak przy instalacji.

Względnie uruchom system w trybie pojedynczego użytkownika (single user mode).
Jak uruchomić w single user mode. Odpalam grub, wciska e. Przechodze do lini linux i dodaję wyraz "singel". Później f10 ale system startuje normalnie
Top
sebas86
Guru
Guru
User avatar
Posts: 571
Joined: Sun May 01, 2005 8:22 am
Location: Szczecinek / Szczecin
Contact:
Contact sebas86
Website

  • Quote

Post by sebas86 » Thu Nov 15, 2018 11:30 pm

Najwidoczniej dopisujesz argument nie do tej linijki co trzeba. Możliwe także, że sam single to za mało i system nadal będzie pytał o hasło w tym przypadku powinno pomóc zmiana domyślnego programu inicjalizującego system np np. shell:

Code: Select all

linux [...] single init=/bin/sh
Nieważne jaka dystrybucja, ważne, że Linux!
Top
gexcite
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Sat Sep 24, 2005 7:01 am

  • Quote

Post by gexcite » Fri Nov 16, 2018 6:01 pm

Wydaje mi się, że tak powinno być:

Code: Select all

softlevel=single
Przynajmniej kiedyś tak odpalałem i działało. Chyba, że się coś zmieniło od tej pory.
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy