root Passwort zurücksetzen - ohne Passwort


  • Hier mal ein "Find" von einer Seite, die es wohl nur noch auf archive gibt

    http://solarisguide.com/guide/QG990525190653.shtml


    Vielleicht ist es ja hilfreich, gelegentlich.

    -- 1982 gab es keinen Raspberry Pi , aber Pi und Raspberries

  • Also auch auf archive.org habe ich Probleme gehabt, das sofort abzurufen.

    Hier mal ein Backup:

    Zitat
    1. stop sweating
    2. grab a solaris cdrom and put it in your cdrom drive
    3. hit stop+a
    4. at the 'ok' prompt, run boot cdrom -s
    5. cd /tmp
    6. mkdir /tmp/xxx (doesn't matter what xxx is)
    7. mount /dev/dsk/c0t0d0s0 /tmp/root/xxx (where c0t 0d0s0 is the location of your root drive)
    8. start csh
    9. setenv TERM vt220
    10. cp /tmp/root/xxx/shadow /tmp/root/xxx/shadow/shadow.oops
    11. vi /tmp/root/xxx/shadow and delete the encrypted password on the root account
    12. reboot, login with root and no password, and reset your root password

    "The biggest communication problem is we do not listen to understand. We listen to reply." - Stephen Covey


    Webseite und Blog ist immer noch - seit fast 20 Jahren - online.