At times where Linux provides a secure and healthy environment for users, it makes other things even more complicated and intricate. في بعض الاحيان حيث لينكس يوفر بيئة آمنة وصحية للمستخدمين ، فإنه يجعل أمور أخرى أكثر تعقيدا ومعقدة. Despite being such a user-friendly operating system, it is not that easy to login to Ubuntu as a root user. على الرغم من هذا القبيل سهولة نظام التشغيل ، فإنه ليس من السهل الدخول إلى أوبونتو كمستخدم جذر.
Root user has all the administrator privileges so whenever you need to edit system files or configuration from within Gnome, you will feel the need to login to Ubuntu as a root user. جذر مستخدم لديه كل امتيازات المسؤول لذلك كلما كنت بحاجة لتحرير ملفات النظام أو التكوين من داخل غنوم ، وسوف تشعر أنك تحتاج إلى تسجيل الدخول إلى أوبونتو كمستخدم جذر. But the question is here is "How to login to Ubuntu as a root user?" ولكن السؤال هنا هو : "كيف لتسجيل الدخول إلى أوبونتو كمستخدم جذر؟"
Just follow the steps below: فقط اتبع الخطوات التالية :
- Open the terminal and type: فتح المعبر ، ونوع :
sudo passwd root - When you see the prompt that says "Enter new UNIX password", enter the password you want for the root user and confirm it. عندما تشاهد المطالبة التي تقول "أدخل كلمة المرور الجديدة يونيكس" ، وأدخل كلمة السر التي تريد للمستخدم الجذر وتأكيدها.
- Type: النوع :
sudo gedit /etc/X11/gdm/gdm.conf - Locate the line that says "AllowRoot=false". موقع السطر الذي يقول "AllowRoot = كاذبة". Change it to "AllowRoot=true". تغييره إلى "AllowRoot = صحيح".
- Save the file حفظ الملف
- Exit gedit, logout and then reboot. خروج gedit ، ثم خروج وإعادة تشغيل الكمبيوتر.
I used the same method when I wanted to login as root user to edit configuration files of my graphics card and everything worked great. أنا استخدم نفس الأسلوب عندما أردت الدخول كمستخدم جذر لتحرير ملفات التهيئة لبطاقة الرسومات الخاصة بي وعملت كل شيء عظيم. However the only issue in this case is that by logging to Ubuntu as root you are making your operating system more vulnerable. لكن المسألة الوحيدة في هذه القضية هو أنه عن طريق تسجيل الدخول إلى أوبونتو كجذر كنت ترغب بجعل نظام التشغيل الخاص بك أكثر عرضة للخطر.
For Ubuntu users it is recommended to use the account which they created on time of install and use the "sudo" command while in terminal to execute commands as root user. لمستخدمي أوبونتو فمن المستحسن استخدام الحساب التي تم إنشاؤها في الوقت المناسب لتثبيت واستخدام سودو "" في حين أن الأمر في محطة لتنفيذ الأوامر كمستخدم جذر.
















