Centos 7:
Reboot lại server, khi khởi động server sẽ hiện các option kernel chọn 1 kernel bất kì bấm phím “e” trên kernel đó.

Tìm đến dòng có kí tự “ro” thay đổi thành rw (dòng Linux16 )nhé và bấm Ctrl X để vào single mode
rw init=/sysroot/bin/sh

Chạy lệnh tiếp theo để access vào trong system
chroot /System

Đổi password root bằng lệnh và exit
passwd root
Cập nhật lại selinux
touch /.autorelabel
exit
Reboot
Khởi động lại server và tận hưởng thôi
reboot
Ubuntu:
rw init=/bin/bash
linux /boot/vmlinuz-4-4.0-22-generic root=UUID=43ad24d3-e\
c5b-44ee-a099-a88eb9520989 rw init=/bin/bash
Once ready press CTRL+x or F10 to boot.
root@(none):/# mount | grep -w /
root@(none):/# passwd
root@(none):/# exec /sbin/init
Thank admin !
Hi, Neat post. There is a problem together with your website in internet explorer, could check
this? IE still is the marketplace leader and a large component to folks will leave out your magnificent writing due to this problem.
Good post. I certainly appreciate this website. Continue the good work!