LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2005, 04:18 PM   #1
pyroman59
Member
 
Registered: Jul 2005
Posts: 78

Rep: Reputation: 16
Secure root login on console only


Hi - I am running Red Hat Linux 7.1 and need to secure the system from network root logins (but keep console logins functional). I know how to do this on Solaris in the /etc/default/login file, but not on Linux.
 
Old 11-01-2005, 04:45 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
If you want to disable root login through SSH, edit the /etc/ssh/sshd_config and change the "PermitRootLogin yes" line to "PermitRootLogin no".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Console- Login as root- conplete newbie SonicGT Linux - Newbie 2 11-02-2004 07:46 PM
Login Incorrect for everyone including Root at console morette Linux - General 2 07-30-2004 04:37 PM
Cannot login as root under console SuSE 8.2 HamishTPB Linux - General 3 07-11-2003 07:20 AM
Disable/Enable Root Login @ Console ryanstrayer Linux - Security 4 01-18-2002 04:49 PM
Please help: console root login incorrect! aponcel Linux - Networking 7 07-19-2001 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration