At some point we've all forgotten the root password on a Linux system. Here's how to reset it if you're using CentOS, FreePBX, Fedora, or any other RHEL-based distro.
You my friend are amazing! Thank you for your help in getting me root access to my second hand Sangoma PBXACT appliance that I bought on eBay. Previous owner apparently did enable selinux. My kernel config was slightly different and I had to remove console=ttyS0,115200 LANG=en_US.UTF-8 Once did that and my line was ending with ifnames=0 I was able to append rd.break and restart and it worked. It looks like the previous owner had done some customization to the linux system. Either way, your steps worked once I created the .autorelabel file
wow, thanks for the post, it helped me a lot. in my case the command "mount -o remount.rw sysroot" didn't work, so I changed in "grud" to "sysroot" to start in rw.
I've seen some folks complain about this. I haven't had to set enforcing as a kernel parameter on RHEL, and it's been a while since I've run FreePBX, so perhaps, the FreePBX flavor of CentOS has changed.
Hello Eddie, I have one question abut resetting root password, what did I learn from some books about RHCSA. when we reset password, we need to use rd.break=enforcing , not just rd.break. What is the default behavior without "enforcing", or just the same.
I finally got around to answering your question. See the below video. Thanks again for being a subscriber! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ugJp0glv8_I.html
When I try this on a pbxact appliance running the Sangoma Linux after adding rd.break and control-x it reboots and hangs at probing EDD edd=off to disable ok. And sits for minutes till it reboots and goes into a endless loop from hell. Any ideas?
It’s telling me that it’s already mounted… /dev/mapper/SangomaVG-root is already mounted or /sysroot busy /dev/mapper/SangomaVG-root is already mounted on /sysroot