Reset root passwd

reboot Grub -[e]dit find the line “vmlinuz”, insert at the end: rd.break enforcing=0 Ctrl-X (boot this kernel) now you’re root at the prompt. mount -o remount,rw   /sysroot rootfs is default mounted as “readonly” by kernel. chroot   /sysroot passwd root also in /etc/shadow. exit exit certdepot

Multiple consoles

On Linux (and probably Unix) there are multiple consoles to work with. Within one session you can switch between a console and therefor work from different positions into the kernel. So in one console you can be a user and in the other root. A colleague told me the history. In the past there where …

Multiple consoles Lees verder »