في بعض الأحيان تفقد كلمة مرور المستخدم الجذر (root) او تنساها وتحتاج الى إستعادة كلمة مرور المستخدم الجذر
في السطور المقبلة سنقوم بشرح كيفية استعادة او تغيير كلمة المرور لهذا المستخدم
للتوضيح سنستخدم نظام تشغيل Centos في هذا الموضوع
لـاستعادة كلمة مرور المستخدم الجذر(root) اتبع الخطوات التالي سردها لكم
أولاً: في وقت إقلاع النظام تضغط على حرف e
ثانياً: تقم بإضافة ‘rd.break’ بعد UTF-8 كما هو موضح بالصور
الصورة الأولي قبل الإضافة
الصورة الثانية بعد الإضافة
ثالثاً: تقوم بالضغط علي “Ctrl+x” لإعادة إقلاع النظام
رابعاً : بعد عملية الإقلاع نقوم بكتابة الأمر التالي ‘mount -o remount,rw /sysroot’ في هذه الخطوة يتم إعادة تحميل نظام الملفات الجذر على وضع القراءة والكتابة حتى نتمكن من إجراء التغييرات
خامساً : نقوم بهذه الخطوة حتى نتمكن من كتابة الأوامر المتعلقة بـ sysrootقم بكتابة الأمر التالي ‘chroot /sysroot’.
سادساً : لتغيير كلمة المرور تكتب الأمر التالي ‘passwd’
سيطلب منك كتابة كلمة المرور الجديدة
ثم سيطلب تأكيد كلمة المرور
سابعاً : نقوم بكتابة الاتي ‘touch /.autorelabel ’وهذا الأمر يقوم بإعادة إنشاء الملف /etc/shadow وهو الملف الذى يتم فيه تخزين معلومات جميع مستخدمي النظام
ثامناً: نكتب الأمر exit للخروج من chroot ومن ثم نكتب exit للخروج من root shell ويقوم النظام بإعادة التشغيل
بمجرد اكتمال إعادة التشغيل، ستتمكن من استخدام حساب الجذر باستخدام كلمة المرور التي تم تعيينها حديثًا.
I’m not sure exactly why but this blog is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later on and see if the problem still exists.
Hello, you used to write great, but the last few posts have been kinda boring… I miss your tremendous writings. Past few posts are just a little bit out of track! come on!
I’ve been absent for a while, but now I remember why I used to love this website. Thank you, I will try and check back more often. How frequently you update your web site?
15 Responses
No matter if some one searches for his necessary
thing, so he/she needs to be available that in detail,
thus that thing is maintained over here.
Kaixo, zure prezioa jakin nahi nuen.
Zein prezio esan nahi duzu?
Hallo, ek wou jou prys ken.
Zein prezio esan nahi duzu?
I’m not sure exactly why but this blog is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later on and see if the problem still exists.
Hello, you used to write great, but the last few posts have been kinda boring… I miss your tremendous writings. Past few posts are just a little bit out of track! come on!
Valuable info. Lucky me I found your website by accident, and I am shocked why this accident didn’t happened earlier! I bookmarked it.
Very interesting subject, regards for posting. “Everything in the world may be endured except continued prosperity.” by Johann von Goethe.
Some really nice stuff on this web site, I love it.
I’ve been absent for a while, but now I remember why I used to love this website. Thank you, I will try and check back more often. How frequently you update your web site?
Valuable info. Lucky me I found your web site by accident, and I’m shocked why this accident did not happened earlier! I bookmarked it.
좋은 게시물, 나는 그것을 내 친구들과 공유했습니다.
Buen post, lo he compartido con mis amigos.
Güzel bir yazı, arkadaşlarımla paylaştım.