How to Break Root Password in Linux Rhel 9 | Linux Rhel 9 में Root पासवर्ड कैसे तोड़ें.
Автор: The Aware Technology
Загружено: 2023-10-08
Просмотров: 262
Описание:
How to Break Root Password in Linux Rhel 9 | Linux Rhel 9 में Root पासवर्ड कैसे तोड़ें |
To access that root shell, follow these steps:
1. Reboot the system.
2. Interrupt the boot-loader countdown by pressing any key, except Enter.
3. Move the cursor to the rescue kernel entry to boot (the one with the word rescue in its name).
4. Press e to edit the selected entry.
5. Move the cursor to the kernel command line (the line that starts with linux).
Chapter 8 | Control the Boot Process
6. Append rd.break. With that option, the system breaks just before the system hands control
from the initramfs to the actual system.
7. Press Ctrl+x to boot with the changes.
8. Press Enter to perform maintenance when prompted.
At this point, the system presents a root shell, with the actual root file system on the disk
mounted read-only on /sysroot. Because troubleshooting often requires modification to the
root file system, you must remount the root file system as read/write. The following step shows
how the remount,rw option to the mount command remounts the file system with the new
option (rw) set.
To reset the root password from this point, use the following procedure:
-------------------------------------------------------------------------------------------------------------------
1. Remount /sysroot as read/write.
sh-5.1# mount -o remount,rw /sysroot
2. Switch into a chroot jail, where /sysroot is treated as the root of the file-system tree.
sh-5.1# chroot /sysroot
3. Set a new root password.
sh-5.1# passwd root
4. Make sure that all unlabeled files, including /etc/shadow at this point, get relabeled during
boot.
sh-5.1# touch /.autorelabel
Tag:
#Break_Root_Password
#Rhel_9
#follow
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: