LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-16-2007, 12:54 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Rep: Reputation: 31
security probe


Sir

I am using RHEL3 as our internet server(squid proxy)in my office.
one of my collegue using PUTTY to access inter server, coz he knows the root passwd.

can u pls tell me to block PUTTY to access this important server without change root passed. is there any other options?


thanks in advance


soumalya
 
Old 06-16-2007, 01:16 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Does this server need to offer ssh access? Even if you do, you can disable root ssh logins. Actually, you should do that in any case.

Edit /etc/ssh/sshd_config:
From
#PermitRootLogin yes
to
PermitRootLogin no
 
Old 06-18-2007, 10:10 PM   #3
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Original Poster
Rep: Reputation: 31
Thanks 4 ur reply

is this the way to block accessing ssh and telnet?
 
Old 06-18-2007, 11:06 PM   #4
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
Quote:
Originally Posted by soumalya
Thanks 4 ur reply

is this the way to block accessing ssh and telnet?
Blocking ssh root login would be useless if your coworker was clever enough to add himself to the wheel group...this would allow him to login as a normal user then su to root.

You can add rules to iptables to drop packets from his machine, or you could disable sshd completely. Telnet shouldn't be used anyhow, so it's best to shut it off, too.

If you require ssh access, you can set up a strict iptables rule set to deny connections from anyone but certain machines...but without changing the root password, you still have to consider the physical security of the machine (if your coworker can access the machine directly, he can login as root since he knows the password).

My advice would be to a) set up iptables for strict rules, or b) disable sshd/telnet.

And I'd change the root password regardless!
 
Old 06-20-2007, 06:08 AM   #5
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Original Poster
Rep: Reputation: 31
then what will be the best solution to stop accessing ssh and telnet from client.


can u give the steps



thanks again
 
Old 06-21-2007, 01:13 PM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Go ahead and restrict SSH access to clients that you trust and change the root password. If you have a root password that has been divulged, it needs to be changed. This will also remove su/sudo and physical access risks.
 
  


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
How to probe for a modem procfs Linux - Hardware 2 04-05-2007 12:43 AM
how I probe memory ? ping_wing Linux - Hardware 1 04-27-2005 07:49 AM
Pcmcia probe MyNotMyAccount Slackware 1 09-30-2004 05:03 PM
Monitor re-probe? mike_loux Fedora 1 01-28-2004 11:06 AM
re: security and results of netstat probe ergo_sum Linux - Newbie 5 11-15-2003 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:11 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