LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to reset login password for linux 17 64 bit (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-reset-login-password-for-linux-17-64-bit-4175545970/)

southernboy 06-20-2015 07:40 PM

how to reset login password for linux 17 64 bit
 
I attempted the forun reset in linux community. #5. Use the arrow keys to highlight the lin that begins with kernel and press the e key.

there is no line that begins with "Kernel".

GNU GRUB version 2.02 beta2-9ubuntu1

setparams 'Linux Mint 17.1 Cinnamon 64-bit, 3.13.0-.7-generic /dev/sda1)'

recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root= 'hdO, msdod1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs uuid -- set=root --hint-bios=hdo,msdos1 --hint-efi=hdo,msdos1 --hint-baremetal=ahcio,msdos1 ae83ed5c-45da-44f8-91a5-51\aebfd4dBee
else
search --no-floppy --fs-uuid --set=root ae83ed5c-45da-44f8-91a5-51aebfd4dBee
fi
linux /boot/vmlinuz-3.13.0-37-generic root=UUID=ae83ed5c-45da-44fb-91a5-51aebfd4dBee ro quiet splash $vt_handoff
initrd /boot/initrd.img-3-13,0-37-generic

btmiller 06-21-2015 10:16 AM

You;'re using GRUB2, which adds large amounts of complexity to the process, unfortunately. However, what you're trying to do is fairly straightforward. In your case, you need to edit the line beginning with "linux". This line contains the path to the kernel and the options to be passed to it. You'll want to append the word "single" to this line to boot into single user mode and reset your password.


All times are GMT -5. The time now is 08:07 PM.