Tsela ea ho sebelisa password ea Grub2

Ho na le mekhoa e 'maloa ea ho sireletsa file ea Grub ka kabo re li ratang. Ke lekile ka ho khetheha le mofuta ona le le Enoa o mong, empa ha ho le o mong o ileng oa nthusa. Mohlomong ke ne ke hloloheloa ho hong mme ke lihlong, hobane ha u etsa li-password ka Hash, ntho eo e sireletsehile haholoanyane.

Empa leha ho le joalo, ke tla u bontša e ileng ea nketsetsa mehlolo, 'me e mpotsa lebitso la mosebelisi le phasewete ha ke leka ho e hlophisa Grub. Mehato e bonolo:

1- Re hlophisa faele /etc/grub.d/00_hlooho:

$ sudo nano /etc/grub.d/00_header

2- Re eketsa mela e latelang qetellong:

cat << EOF
  set superusers="elav"
    password elav micontraseña
    EOF

Molemong oa ka, ke khethile lebitso la ka la bosoasoi joalo ka superuser, empa o ka khetha eng kapa eng eo o e batlang. Haeba re batla, re ka eketsa basebelisi ba bang, 'me e tla shebahala tjena:

cat << EOF
  set superusers="elav"
    password elav micontraseña
    password kzkggaara sucontraseña
EOF

Re boloka le ho nchafatsa file ea Grub.

sudo update-grub2

Re qala bocha le ha re leka ho hlophisa file ea Grub ka senotlolo "le" E tla re kopa lebitso la mosebelisi le phasewete 😀


Litaba tsa sengoloa sena li latela melao-motheo ea rona ea melao ea boitšoaro ea bongoli. Ho tlaleha phoso tlanya mona.

Maikutlo a 8, siea ea hau

Siea maikutlo a hau

aterese ya hao ya imeile ke ke ho phatlalatswa. masimo a hlokahala a tšoailoe ka *

*

*

  1. E ikarabella bakeng sa data: Miguel Ángel Gatón
  2. Morero oa data: Laola SPAM, tsamaiso ea maikutlo.
  3. Molao: Tumello ea hau
  4. Puisano ea data: Lintlha li ke ke tsa tsebisoa batho ba boraro ntle le ka tlamo ea molao.
  5. Polokelo ea data: Database e hapiloeng ke Occentus Networks (EU)
  6. Litokelo: Nako efe kapa efe o ka fokotsa, oa hlaphoheloa mme oa hlakola tlhaiso-leseling ea hau.

  1.   mong'a fucking a re

    ho qhekella

  2.   Hugo a re

    Ha ke tsebe hore na u ne u tseba hore nakoana e fetileng ke kentse mokhoa ona ho GUTL Wiki. Ka maikutlo a ka, ntho e latelang e ka ba monate ho e etsa ke thupelo ea hore na password e sireletsa joang ho kena ho mofuta oa GRUB. Na u thabile? 😉

    1.    elav <° Linux a re

      Ha e le hantle e ka etsoa. Ke tla e boloka kelellong ..

      Lumeliso 😀

  3.   LZN a re

    Lumela, haeba e sebetsa beha khetho ea hash.

    E le hore e makhethe ebile ea sebetsa.
    Mokhoa oa ho e etsa o tjena.
    U tlameha ho eketsa mela e latelang qetellong ea file /etc/grub.d/40_custom

    set superusers = »mosebelisi»
    password_pbkdf2 mosebelisi mme mona hashe eohle e hlahisitsoeng ke grub-mkpasswd-pbkdf2

    boloka le ho tsamaisa ntjhafatso-grub
    le voila =)

    1.    elav <° Linux a re

      Joooh! Ke leboha malebela 😉

  4.   Hugo a re

    Kea leboha, qetellong ke fumane seo ke neng ke se batla.

  5.   Fran a re

    E sebelitse ho nna. Ke leboha haholo 🙂

  6.   bapgnu a re

    Feela ho ruisa ba pepesitsoeng. Le ha mokhoa ona o shebahala o le bonolo haholo ho o sebelisa, ke nahana, o ntokise haeba ke fositse, o bonolo habonolo.
    Teko: Haeba nka sebetsa ka mokhoa o phelang, nka phahamisa disk ebe ke bala faele eo ho buuoang ka eona, hobane e ngotsoe ka mokhoa o hlakileng. Ka tlhaiso-leseling eo u e fumaneng, u ka hlophisa grub ho fumana metso.
    Ke emetse maikutlo a hau.