Linux - SecurityThis 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.
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.
The PID of the process is known (24942), so what does 'lsof -P -w -n -p 24942' show? (Most likely this is 'makewhatis'. As answer that may be satisfactory but that's wrong: you should focus on the methods you need to be able to find out things yourself.)
The PID of the process is known (24942), so what does 'lsof -P -w -n -p 24942' show? (Most likely this is 'makewhatis'. As answer that may be satisfactory but that's wrong: you should focus on the methods you need to be able to find out things yourself.)
lsof 24942 shows nothing.
Just strange that nothing had been appearing with all those charatcters in recent reports
When I rerun now I only get this. It looks like the code of chkrootkit somehow came out in the report ?
Code:
Checking `chkutmp'... The tty of the following user process(es) were not found
in /var/run/utmp !
! RUID PID TTY CMD
! root 3187 tty6 /sbin/mingetty tty6
chkutmp: nothing deleted
Please be precise. I said 'lsof -P -w -n -p 24942'!
Quote:
Originally Posted by qwertyjjj
Just strange that nothing had been appearing with all those charatcters in recent reports
Because the process already finished?..
Quote:
Originally Posted by qwertyjjj
It looks like the code of chkrootkit somehow came out in the report ?
I already pointed you to 'makewhatis' and I said you should focus on the methods of getting information. So: 'locate makewhatis; file /usr/sbin/makewhatis; grep filename_no_gz /usr/sbin/makewhatis'. If you think "the code of chkrootkit somehow came out in the report" then by all means try: 'locate chkrootkit; file /path/to/chkrootkit; grep filename_no_gz /path/to/chkrootkit', OK?
Because the process already finished?..
I already pointed you to 'makewhatis' and I said you should focus on the methods of getting information. So: 'locate makewhatis; file /usr/sbin/makewhatis; grep filename_no_gz /usr/sbin/makewhatis'. If you think "the code of chkrootkit somehow came out in the report" then by all means try: 'locate chkrootkit; file /path/to/chkrootkit; grep filename_no_gz /path/to/chkrootkit', OK?
makewhatis seems to have a completely different process number.
makewhatis seems to have a completely different process number.
Since you didn't post timestamps for the inital and this command it may point to a different 'makewhatis' run. BTW, you don't have to actually post the 'locate makewhatis; file /usr/sbin/makewhatis; grep filename_no_gz /usr/sbin/makewhatis' output, how did you think I came up with those commands?..
Since you didn't post timestamps for the inital and this command it may point to a different 'makewhatis' run. BTW, you don't have to actually post the 'locate makewhatis; file /usr/sbin/makewhatis; grep filename_no_gz /usr/sbin/makewhatis' output, how did you think I came up with those commands?..
Quote:
makewhatis reads all the manual pages contained in the given sections of manpath or the preformatted pages contained in the given sections of catpath. For each page, it writes a line in the whatis database; each line consists of the name of the page and a short description, separated by a dash. The description is extracted using the content of the NAME section of the manual page.
Not sure I really understand the point of makehwhatis and why it would have a different process ID. The chkrootkit report was run at 00:00 and the manual entries I posted above were done 9hrs later.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.