Тёмный

Reset the Root Password in FreePBX and RHEL-based Linux distros 

Eddie Jennings
Подписаться 3,6 тыс.
Просмотров 6 тыс.
50% 1

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.

Наука

Опубликовано:

 

8 фев 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@BrotherOfLegend
@BrotherOfLegend Год назад
love u bro, im french user and its working ty
@ChadAmI80
@ChadAmI80 2 года назад
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
@EddieJennings
@EddieJennings 2 года назад
You're welcome! I'm glad it helped!
@gustavotobias7681
@gustavotobias7681 2 года назад
very useful, thank you very much, greetings from Mexico
@EddieJennings
@EddieJennings Год назад
I’m glad it was helpful. Nice to see I have viewers from the South :)
@guilhermegomes5252
@guilhermegomes5252 3 года назад
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.
@EddieJennings
@EddieJennings 3 года назад
You're welcome! If you used exactly what was in quotes, change the dot between remount and rw to a comma. That *should* work.
@fabianoheringer
@fabianoheringer 2 года назад
hi, need some help, made the steps, but when try passwd root, it show "unknown username root"
@inkrollo936
@inkrollo936 Год назад
If anyone is having Selinux problems with this, after rd.break, add [space] enforcing=0, then change the value back to 1 after boot(setenforce 1).
@EddieJennings
@EddieJennings Год назад
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.
@alexlu9101
@alexlu9101 4 года назад
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.
@EddieJennings
@EddieJennings 4 года назад
I have never used “enforcing”. My hunch is that it has to do with SELinux. I’ll do some tests and show the results in a future video.
@EddieJennings
@EddieJennings 4 года назад
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
@traderpete007
@traderpete007 3 года назад
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?
@JessieMHadaller
@JessieMHadaller Год назад
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
@adamiltondasilvaalves1220
@adamiltondasilvaalves1220 11 месяцев назад
showwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
Далее
Linux New User Guide: 10 Things I Wish I Knew
23:31
Просмотров 438 тыс.
Hacking Windows TrustedInstaller (GOD MODE)
31:07
Просмотров 427 тыс.
TailsOS Guide For The Ultra Paranoid
35:32
Просмотров 412 тыс.
Break Rhel9 root password.
5:53
Просмотров 3,8 тыс.
Password Hacking in Kali Linux
24:22
Просмотров 775 тыс.
Top 10 Linux Job Interview Questions
16:04
Просмотров 2,3 млн
FreePBX reset root and admin Password
3:33
Просмотров 3,8 тыс.
FreePBX 14 - Password Reset
4:41
Просмотров 6 тыс.
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн