login incorect

Issues related to applications and software problems and general support
Post Reply
zhup
Posts: 4
Joined: 2021/04/28 19:16:02

login incorect

Post by zhup » 2021/04/29 11:42:00

Hello,

After reboot my centos 8 (after switch back from centos stream) and login is not working. I can not login, it always appears "login incorect".

I followed the below procedure:

Code: Select all

1 – In the boot grub menu select option to edit.
2 – Select Option 1 to edit (e).
3 – Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh.
4 – Now press Control+x to start on single user mode.
5 – Now access the system with this command. >> chroot /sysroot
6 – Reset the password. with >> passwd root
7 – Update selinux information with >> touch /.autorelabel
8 – Exit chroot >> exit
9 – Reboot your system >> reboot
First, I can not see the line with Linux 16, so I used the line that was only there.
Second - passwd root is not working - permission denied.

Please help me to log-in my system.

zhup
Posts: 4
Joined: 2021/04/28 19:16:02

Re: login incorect

Post by zhup » 2021/05/04 17:11:36


Post Reply