Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-25-2005, 07:27 PM
|
#1
|
|
Member
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 272
Rep:
|
/var/log/messages weird entries
Hey all,
Got 2 questions both deal with /var/log/messages
A) I have entries every hour from root, saying a crond is openeing a sessions for root by root, and then at the exact same time, crond is closing the session
Code:
Oct 23 17:01:01 localhost crond(pam_unix)[5913]: session opened for user root by
(uid=0)
Oct 23 17:01:01 localhost crond(pam_unix)[5913]: session closed for user root
Why is this happening?? There are no crontab jobs for root.
B) I also have entries from annonymous users, obviously trying to hack any machine they can. Is there a way to sto this from happening (Aside from blocking all IPs)??
Thanks so much!!!
Josh
|
|
|
|
10-25-2005, 08:07 PM
|
#2
|
|
Member
Registered: Jan 2005
Posts: 83
Rep:
|
How do the entries from anonymous users look ?
|
|
|
|
11-01-2005, 11:47 AM
|
#3
|
|
Member
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 272
Original Poster
Rep:
|
Sorry for the long wait, had other server issues:
Annonymouns user entried look like this:
Code:
Oct 30 21:20:15 localhost sshd(pam_unix)[3697]: authentication failure; logname= uid=0 euid
=0 tty=ssh ruser= rhost=211.61.138.34 user=root
and then there are some that look like this, almost the same:
Code:
Oct 30 21:23:12 localhost sshd(pam_unix)[3795]: check pass; user unknown
Oct 30 21:23:12 localhost sshd(pam_unix)[3795]: authentication failure; logname= uid=0 euid
=0 tty=ssh ruser= rhost=211.61.138.34
does anyone know how to prevent this from happening, without simply blocking this specific IP?
THanks
|
|
|
|
11-01-2005, 02:46 PM
|
#4
|
|
Member
Registered: Jan 2005
Posts: 83
Rep:
|
Add a line like this in /etc/ssh/sshd_config :
AllowUsers user1 user2
Try "man sshd_config" for details.
|
|
|
|
11-01-2005, 05:50 PM
|
#5
|
|
Member
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 272
Original Poster
Rep:
|
Yes thats great.
I have already implemented this security measure.
THanks
|
|
|
|
11-01-2005, 05:56 PM
|
#6
|
|
Member
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 272
Original Poster
Rep:
|
Yes thats great.
I have already implemented this security measure.
THanks
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|