نمایش نتایج: از شماره 1 تا 1 , از مجموع 1

موضوع: غیر فعال کردن direct login root

  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,976
    تشکر شده در
    2,085 پست

    پیش فرض غیر فعال کردن direct login root

    Allowing the root user to login directly is a major security issue, we'll show you how to disable it so you can still login as root but just not directly, reducing the security issue.

    This will force a hacker to have to guess 2 seperate passwords to gain root access.
    (you do have 2 seperate passwords for admin and root right?)
    What happens is you'll first need to login as your admin user in SSH, then switch to the super user with the su command to get root.

    We also will be forcing the use of SSH protocol 2, which is a newer, more secure SSH protocol
    Just a couple more ways to help your server stay safe from the bad guys. If you're using cPanel make sure you add your admin user to the 'wheel' group so that you will be able to 'su -' to root, otherwise you may lock yourself out of root.

    1. SSH into your server as 'admin' and gain root access by su

    2. Copy and paste this line to edit the file for SSH logins
    pico -w /etc/ssh/sshd_config

    3. Find the line
    Protocol 2, 1

    4. Uncomment it and change it to look like
    Protocol 2
    Article provided by WebHostGear.com
    5. Next, find the line
    PermitRootLogin yes

    6. Uncomment it and make it look like PermitRootLogin no

    7. Save the file Ctrl+X then Y then enter

    8. Now you can restart SSH
    /etc/rc.d/init.d/sshd restart

    Now, no one will be able to login to root with out first loggin in as admin and 'su -' to root, and you will be forcing the use of a more secure protocol. Just make sure you remember both passwords!
    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها ازVahid به دلیل پست مفید


  3. # ADS




     

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. مشکل جدی در غیرفعال کردن ssh root
    توسط Mrbean در انجمن سوالات و مشکلات
    پاسخ ها: 3
    آخرين نوشته: April 14th, 2015, 11:19
  2. غیرفعال کردن root ssh و اضافه کردن کاربر wheel
    توسط bahname در انجمن سی پنل CPanel
    پاسخ ها: 0
    آخرين نوشته: February 16th, 2015, 23:25
  3. غیرفعال کردن php safe mode در direct admin
    توسط Iran Tech در انجمن دايرکت ادمين DirectAdmin
    پاسخ ها: 2
    آخرين نوشته: February 18th, 2014, 10:44
  4. پاسخ ها: 1
    آخرين نوشته: August 24th, 2013, 19:15
  5. فعال و غیر فعال کردن Admin login در ورود به کنترل پنل
    توسط myvps در انجمن مباحث و منابع آموزشی
    پاسخ ها: 6
    آخرين نوشته: July 17th, 2010, 21:20

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •