Тёмный

How to reset forgotten root password with single user mode- RHEL7 | CentOS 7 

Tune To Linux
Подписаться 10 тыс.
Просмотров 11 тыс.
50% 1

This video is show how to login into single user mode and reset root password in RHEL7. A step by step procedure for beginner to "how to login to single user mode and reset password in rhel7"

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

 

2 янв 2018

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@sophiaroselin6193
@sophiaroselin6193 2 года назад
Very pleasent explanation
@bhushanamrajendraprasad9821
@bhushanamrajendraprasad9821 4 года назад
Why need to use in init=/bin/bash ?, second question : I saw different method for root password reset : rd.break console=tty in linux16 line and after that control X and change like mount -o remount,rw /sysroot; chown /sysroot;passwd root;touch /.autorelabel ; exit; exit, why this much need to do in RHEL 7 ?
@kunjandesai4341
@kunjandesai4341 2 года назад
Same question here, i have seen multiple videos with different options.
@bhuvanachandrakiran2849
@bhuvanachandrakiran2849 6 лет назад
What are the common errors we get if we are using nfs server and samba services..? Can you prepare a video on this...?
@tunetolinux4173
@tunetolinux4173 6 лет назад
Yes I will.
@abdulnaveed2937
@abdulnaveed2937 4 года назад
When you change root password the shadow file is modified with incorrect SElinux context. Either create a hidden file under root directory #touch /.autorelabel , on the next boot it will create a correct context . Note booting may take time if size of the disk is huge. Other way around you can break the booting process, also assign enforcing=0 which makes SElinux temperory permissive so later you can restore the correct context on /etc/shadow and put back SElinux in enforcing mode.
@justinphilip3147
@justinphilip3147 5 лет назад
Is there any difference between single user mode or maintenance mode and emergency mode ?
@tunetolinux4173
@tunetolinux4173 5 лет назад
Differences between Emergency and Rescue mode in Linux | RHEL7 |CentOS7 |Part-4ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-i3-CKvz3p64.html
@kunjandesai4341
@kunjandesai4341 2 года назад
From 4:00 to 4:35, you have run init command to reboot the system, can't we run "reboot" command itself to reboot the system? Hope you answer it. Thank you for the video.
@tunetolinux4173
@tunetolinux4173 2 года назад
In single user mode not all commands will be available. Hence we need to use init.
@kunjandesai4341
@kunjandesai4341 2 года назад
@@tunetolinux4173 ok.Thank you for the update.
@balanagireddy2152
@balanagireddy2152 5 лет назад
please upload RHEL7 certification videos
@tunetolinux4173
@tunetolinux4173 5 лет назад
I take offline course for certification. Let me know if you or anyone interested in redhat ansible automation ! (DO407) certification course.
Далее
Дарю Самокат Скейтеру !
00:42
Просмотров 2,1 млн
How to reset root password in RHEL 7 (Tamil)
11:00
Просмотров 1,6 тыс.