Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Need to remove grub password
New on LowEndTalk? Please Register and read our Community Rules.

Need to remove grub password

logaritselogaritse Member

Hello everyone, i need help how to remove ubuntu 16 grub password ?

already boot with live cd and try to edit /etc/grub.d/40_custom file and replace with new generated password doesn't work

is there any way to disable grub password.

Thank you

Comments

  • kevindskevinds Member, LIR

    Why not just remove/disable the password instead of trying to set a new one from your live-cd environment?

    Because I try not to assume.. When using the live-cd environment, /etc/grub.d/ is the wrong path.. That will be the live-cd grub files.

  • ArkasArkas Member, Moderator
    edited June 14

    The file may be /etc/grub.d/40_custom or 00_header

    P.S.
    grep password /etc/grub.d/*

    Thanked by 1Tony40
  • @kevinds said:
    Why not just remove/disable the password instead of trying to set a new one from your live-cd environment?

    Because I try not to assume.. When using the live-cd environment, /etc/grub.d/ is the wrong path.. That will be the live-cd grub files.

    i mount that disk (ubuntu) and edit /etc/grub.d/ but doesn't work

  • logaritselogaritse Member
    edited June 14

    @Arkas said:
    The file may be /etc/grub.d/40_custom or 00_header

    P.S.
    grep password /etc/grub.d/*

    got the text at 40_custom file for user and password hash but how to disable ?

  • ArkasArkas Member, Moderator

    remove the file containing the superusers.
    sudo -H gedit /etc/grub.d40_custom/
    dont forget to update grub

    Thanked by 1logaritse
  • @Arkas said:
    remove the file containing the superusers.
    sudo -H gedit /etc/grub.d40_custom/
    dont forget to update grub

    letme try .. thank you

Sign In or Register to comment.