Ask Your Question

Forgotten loging and root password F28

asked 2018-07-10 18:35:41 -0500

Hassan gravatar image

Hello , i recently switched to fesora 28 i wasent used to it but it was okey now i need to use my laptop but i forgot the login password not the i have tried the rescue mod but it keep telling me the the root is looked and i only can press enter can anyone help but without lossing any data from the laptop

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-11 07:14:55 -0500

You can do it in many ways but in short read FEDORA MAGAZINE




Follow these steps

The solution is:

boot with init=/bin/bash (editing the kernel line in grub)
after booting: mount -o remount,rw /
passwd root.
enter the new password twice.
touch /.autorelabel.
reboot with /sbin/reboot -f.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-07-10 18:35:41 -0500

Seen: 56 times

Last updated: Jul 11