Linux Operating System (MOSC)

MOSC Banner

Oracle Linux 7.9 - root account appears to be locked...

edited Mar 27, 2023 10:33PM in Linux Operating System (MOSC) 2 commentsAnswered

I have the simple procedure to interrupt boot, and edit the grub.conf to add "rd.break" at end of the linux16 line, so that it boots to a "#" prompt. Then "mount -o remount,rw /sysroot", and then "chroot /sysroot", and then run passwd command to change root password. The thing is, I have all of our past root password for last 8 months, and tried every one at a Console login, and cannot get in. I THOUGHT that if you typed correct one at the Console for root user, it would let you in? I cannot get

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center