On 07/23/2015 12:27 PM, buhorojo wrote:
12.3 Hi How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
Thanks.
(note: the following is from the sysVinit days, but should be the same since reboot is linked to systemctl reboot) 1. Boot the system and select the normal boot menu from the list. Once selected, in the “Boot Options” box type init=/bin/bash (if you are using GRUB Boot loader) linux init=/bin/bash (if you are using LILO Boot Loader) Do a mount command to check if the root file system “/” is mounted as Read-Write. In my system, it indeed mounted as Read-Write. opensuse:~ # mount Root file system mounted as Read-Write Otherwise, you may need to remount the “/” file system with read-write as follows: opensuse:~ # mount -o remount,rw / Now, simply type the passwd command and enter a new password: opensuse:~ # passwd Changing password for root New Password: Reenter New Password: Password changed Reboot the system and you are back in business. opensuse:~ # reboot -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org