On 23/07/15 20:46, David C. Rankin wrote:
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 Hi OK. That's where we're lost. We don't have 'normal boot menu' on the list. We have: opensuse 12.3 advanced options for opensuse 12.3
The latter brings up another menu with 4 options, normal and advanced boot for each of two variants of the kernel that were installed, presumably as a result on an update).
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
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org