redhat:other-redhat:reset-root-pw

This is an old revision of the document!


CentOS/RHEL7 RESET root Password

Wenn das aktuelle root Passwort nicht mehr bekannt ist, so muss dies zurücksetzt werden.

  • Im Bootloader Standarteintrag editieren und bei „Linux16(am Ende) rd.break eintragen. →> mit CTRL + X booten
  • System root mit RW remounten: →> mount –oremount,rw /sysroot
  • In richtiges Root System wechseln. →> chroot /sysroot
  • Passwort neu setzen: →> passwd root » (Neues PW 2x eingeben)
  • SELinux relabeling (beim nächsten boot) veranlassen: →> touch /.autorelabel
  • System neustarten: →> exit →> reboot
  • redhat/other-redhat/reset-root-pw.1502379969.txt.gz
  • Last modified: 2017/08/10 17:46
  • by michael