Disable Direct Root Login and User Access via SSH to Server अक्षम प्रत्यक्ष रूट लॉगिन और उपयोगकर्ता पहुँच सर्वर को ssh से होकर
Everybody knows, including hackers and attackers that all Linux and UNIX flavored systems come with a all powerful root user account, which once get compromised, mean all hell breaks loose. हर कोई हैकर और हमलावरों कि सभी Linux और UNIX सिस्टम एक अनुरूपित सभी शक्तिशाली जड़ उपयोगकर्ता खाते, जो एक बार समझौता हो साथ आओ सब नरक मतलब सहित जानता है, ढीले टूट जाता है. So it's a good security practice to disable the ability for root user to able to login and gain access to the server system via SSH directly (of course, the system must have disabled FTP access). तो यह एक अच्छी सुरक्षा अभ्यास करने के लिए लॉगिन और ssh द्वारा सर्वर सिस्टम तक पहुँचने में सीधे (जाहिर है, सिस्टम को अक्षम एफ़टीपी का उपयोग होगा) सक्षम जड़ उपयोगकर्ता के लिए निष्क्रिय करने की क्षमता है. After disabling direct root SSH remote login, the chance for the brute force hacking to success is greatly reduced. प्रत्यक्ष जड़ ssh दूरस्थ लॉगिन जानवर सफलता के लिए हैकिंग बल के लिए, मौका अक्षम करने के बाद बहुत कम है.
To turn off and disable direct root SSH login, follow this simple tutorial: के लिए बंद है और निष्क्रिय प्रत्यक्ष जड़ ssh प्रवेश, यह सरल ट्यूटोरियल का पालन करें:
IMPORTANT: Make sure you have another account (preferably belongs to wheel user group too) which is able to login via SSH remotely, and able to SU to root user account. महत्वपूर्ण: सुनिश्चित करें कि आप एक खाता बनाएँ (अधिमानतः पहिया उपयोगकर्ता समूह भी है) जो कि ssh से होकर दूर से प्रवेश कर सकता है, और एस यू कर सकने के लिए उपयोगकर्ता खाते जड़. Else you risk been locked out from your server. और आपके सर्वर से आप जोखिम से बंद कर दिया गया है.
- SSH into server and login as root. सर्वर और जड़ के रूप में प्रवेश में ssh.
- In command shell, use pico or vi to edit sshd_config file by typing one of the following commands: कमान के खोल में, उपयोग या पिको vi निम्नलिखित आज्ञाओं में से एक टाइपिंग द्वारा sshd_config फ़ाइल संपादित करने के लिए:
pico /etc/ssh/sshd_config पिको / etc / ssh / sshd_config
vi /etc/ssh/sshd_config vi / etc / ssh / sshd_config - Scroll down the SSH server configuration file and locate a line like below: पुस्तक ssh सर्वर विन्यास फाइल के नीचे और नीचे की तरह एक पंक्ति खोज:
#PermitRootLogin yes # PermitRootLogin हाँ
- Uncomment the line by removing the hash symbol (#), and then change the “yes” to “no”. हैश प्रतीक को हटाने की लाइन Uncomment (#), और फिर बदल हाँ "" के लिए "नहीं". The final line should look like below: अंतिम रेखा से नीचे की तरह दिखना चाहिए:
PermitRootLogin no PermitRootLogin नहीं
- Save the config file. Config फाइल सहेजें. In pico, press Ctrl-o, follow by Ctrl-x. पिको में, प्रेस Ctrl-o, Ctrl द्वारा पालन-x. In vi, type :wq and press Enter. छठी में, प्रकार: wq और प्रेस दर्ज करें.
- Restart SSH server by typing the following command in command line, and press Enter: कमांड लाइन में निम्न कमांड टाइप द्वारा ssh सर्वर पुनः आरंभ करें, और प्रेस दर्ज करें:
/etc/rc.d/init.d/sshd restart / etc / rc.d / sshd init.d / पुनः आरंभ
- Logout from SSH connection. Ssh संबंधन से लॉगआउट. Try to login as root, it should fail with Access denied error. जड़ के रूप में प्रवेश करने की कोशिश करो, यह प्रवेश के साथ असफल चाहिए त्रुटि इनकार कर दिया. To access root account, login with your own user name and password, and then SU to root. के लिए रूट खाते का उपयोग, अपने उपयोगकर्ता नाम और पासवर्ड के साथ प्रवेश, और फिर एस यू जड़ है.
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.
Related Articles संबंधित लेख
- How to Get Linux Server Sends Email Alert on Root Login कैसे रूट पर लिनक्स सर्वर भेजता है ईमेल चेतावनी प्राप्त करने लॉगिन
- How to Disable or Enable Vista User Access Control in Command Prompt कमान में अक्षम या सक्षम Vista उपयोगकर्ता पहुँच नियंत्रण के लिए कैसे तत्काल
- Reset the Root Password of MySQL Server MySQL सर्वर के रूट पासवर्ड रीसेट करें
- Apple iPhone Root Password and Mobile User Password सेब के iPhone रूट पासवर्ड और मोबाइल प्रयोक्ता पासवर्ड
- PCLoginNow (PC Login Now) Free Download to Reset Windows Admin or User Password PCLoginNow (पीसी लॉगिन अब) नि: शुल्क डाउनलोड रीसेट Windows व्यवस्थापक पासवर्ड या प्रयोक्ता को
- Change and Reset MySQL root Password परिवर्तन और रीसेट MySQL रूट पासवर्ड
- Review Gmail Account Recent Login or Access Activity History and Remote Logout Intruder or Hacker समीक्षा जीमेल खाता हाल लॉगिन या प्रवेश गतिविधि इतिहास और रिमोट लॉगआउट घुसपैठिये या हैकर
- Disable and Turn Off Windows XP Login Screen and Show Traditional NT Log On to Windows Box अक्षम और Windows XP लॉगिन स्क्रीन और दिखाएँ पारंपरिक NT संवाद बॉक्स बंद करें विंडोज पर
- Gmail Access Methods and Login Link URLs Gmail में प्रवेश तरीके और लॉगिन यूआरएल लिंक
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header सुधार Apache वेब सर्वर सुरक्षा: प्रयोग ServerTokens और ServerSignature निष्क्रिय करने शीर्षक









































