LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2008, 12:06 AM   #1
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
Unhappy Want to Disable remote root login over network


hi

i want to disable the remote root login over network, so deleted the entries from file /etc/securetty file, but still i am able to login as root by putty over network.
 
Old 11-11-2008, 12:27 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Check the /etc/ssh/sshd_config file
PermitRootLogin No

or comment out
# PermitRootLogin yes
 
Old 11-11-2008, 12:30 AM   #3
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Original Poster
Rep: Reputation: 17
the entry in the file was commented already
so uncommented it & added
PermitRootLogin No
 
Old 11-11-2008, 12:33 AM   #4
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Original Poster
Rep: Reputation: 17
ok issue resolved
added the entry & restarted the service sshd
thank you
 
  


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
disable root login shivanrathore Linux - Security 6 07-15-2008 07:26 AM
How to disable root console and remote access. UltraSoul Solaris / OpenSolaris 1 02-09-2007 04:05 AM
Disable root login n00bified Slackware 8 07-17-2006 04:42 AM
how to disable *any* remote login? lmmix Linux - Security 3 03-07-2005 04:51 AM
Disable remote login shutdown/reboot student04 Linux - Security 1 03-06-2005 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:28 AM.

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