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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-11-2003, 01:43 PM
|
#1
|
Member
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348
Rep:
|
am i being hacked?
when i type uptime i get this:
10:42:29 up 1 day, 20:11, 5 users, load average: 0.23, 0.32, 0.65
when i type who:
tearinox tty1 Nov 9 15:23
tearinox tty2 Nov 9 14:38
tearinox pts/0 Nov 10 18:34
tearinox pts/1 Nov 10 18:35
tearinox pts/2 Nov 11 00:09
going through my terminals, i only have two users connected (tty1, and tty2) that are running locally.
What are the pts/1 and pts/2? and how do i get rid of them?
thank you
|
|
|
11-11-2003, 02:13 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Provided your system is "sane", as root, run (w/o outer quotes):
"lsof -p $(/sbin/fuser /dev/pts/*|cut -d ":" -f 2- | tr " " ",")" or "/sbin/fuser -vu /dev/pts/*" or "find /proc/[0-9]*/fd/ -ls | grep pts" to see what processes have pseudo tty's open.
am i being hacked?
Most likely not. Verify your systems integrity if you want to be sure.
|
|
|
11-11-2003, 02:14 PM
|
#3
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
Those are your terminals in X (Konsole, Gnome-Terminal, xterm, Eterm, whatever you're using). But that had me stumped at first too.
Håkan
|
|
|
11-13-2003, 04:06 PM
|
#4
|
Member
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348
Original Poster
Rep:
|
Well this had me curious tho. I left my computer on overnight and it was acting a bit sluggish. Of course i figured i would just kill them but after i did that, i realized that i shouldn't written them down *tearinox smacks his head*
Is there a log that tells me what users are doing what by default? Or where are all the log files in gerneral? thx
|
|
|
11-13-2003, 04:07 PM
|
#5
|
Member
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348
Original Poster
Rep:
|
should have*, not shouldn't
sry bout that.. me bad
|
|
|
11-13-2003, 07:00 PM
|
#6
|
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123
Rep:
|
Quote:
Originally posted by tearinox
Or where are all the log files in gerneral? thx
|
All the logs files are in /var/log, check them all carefully and look for anything
out of the ordinary.
Be sure to follow UnSpawn's advice too.
If everything is safe, install aide.
It's an integrity checker and can detect changes in files, so it gets pretty hard
for anyone to crack your box and change stuff.
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|
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
|
|