Results 1 to 4 of 4

Thread: reset root password on sle

Hybrid View

  1. reset root password on sle

    Hello,
    Trying to boot the system into single user mode to reset the root password but failed:

    Code:
    yaboot starting: loaded at 00040000 00067698 (0/0/00c3da70; sp: 089fffd0)            
                                                                                         
                                                                                         
    Welcome to yaboot version r22.8.SuSE                                                 
    boot'                                                                                
    running with firmware 'IBM,FW860.51 (SV860_165)' on model 'IBM,8247-42L', serial 'IBM
    ,03213F62A', partition 'SOLMAN-PR'                                                   
    boot: linux single                                                                 
    Please wait, loading kernel...                                                       
    /vdevice/vfc-client@30000032/disk@500507680307454a,0000000000000000:1,linux: Unable
    to open file, Invalid device 
    boot: single                                                                   
    Please wait, loading kernel...                                                       
    /vdevice/vfc-client@30000032/disk@500507680307454a,0000000000000000:1,linux: Unable
    to open file, Invalid device 
    boot: init=/bin/bash                                                                 
    Please wait, loading kernel...                                                       
    /vdevice/vfc-client@30000032/disk@500507680307454a,0000000000000000:1,init=/bin/bash:
    boot: init=/bin/sh                                                                   
    Please wait, loading kernel...                                                       
    /vdevice/vfc-client@30000032/disk@500507680307454a,0000000000000000:1,init=/bin/sh: U
    nable to open file, Invalid device
    Last edited by sharfuddin; 26-Aug-2019 at 12:47.

  2. Re: reset root password on sle

    Hello sharfuddin,

    Another method is to boot from install media into rescue mode so you can change the password.

    Mike

  3. #3

    Re: reset root password on sle

    Hi Mike,
    Yes booting via iso into rescue helped us ;-). However I wonder how a system could be boot into Single user mode.

  4. #4

    Re: reset root password on sle

    Hi,

    here you can find some examples for single user mode in older SLES releases. You could try only '/bin/bash' (without init) as that site says:

    "/bin/bash" for more advanced rescue methods and where init or inittab is bad
    Here's a different thread on the same topic for SLES 12. If the system is up simply run
    Code:
    systemctl rescue
    .

    Regards,
    Eugen

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •