Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Who is www-data, and why do they want my CPU?
- Date: Thu, 20 Mar 2008 01:11:11 +0900
- From: "Evan Monroig" <evan.monroig@example.com>
- Subject: Re: [tlug] Who is www-data, and why do they want my CPU?
- References: <47E06F4B.8030504@articlass.org> <d8fcc0800803181917w5cd98118m2241e4d50ef668c0@mail.gmail.com> <e28811080803182039r5cf970ado61223c422ff31590@mail.gmail.com> <47E0BD0C.2020405@articlass.org> <ed10ee420803190017u6bfafc36wcdf5840bb6715d3f@mail.gmail.com> <d8fcc0800803190052m26ac00dav765b55c6d2b79e26@mail.gmail.com> <47E0DAD0.50300@articlass.org> <e28811080803190255pef8fa6eua82bfce4c1c6e54c@mail.gmail.com> <ed10ee420803190333x1f205f16l9c16cf4c36a1ca5f@mail.gmail.com> <47E10B8B.8060000@articlass.org>
On Wed, Mar 19, 2008 at 9:48 PM, Dave M G <dave@example.com> wrote: > I ran the command as Evan said, and this time it came back with one > response: > $ sudo find / -type f -name www-data > /var/spool/cron/crontabs/www-data > > I then wanted to check it out, but it wouldn't let me. > > $ cd /var/spool/cron/crontabs/ > bash: cd: /var/spool/cron/crontabs/: Permission denied > > Even as root I can't seem to enter the directory. > > I know crontab is probably some regularly schedule program, but I can't > see it if I type "crontab -e", so I don't know what it is. It seems you found out ! So as you guessed crontab will regularly run some commands from you. The file is named after www-data so it means that the commands that are sheduled will be run as www-data. If you type "crontab -e" it will edit your crontab, i.e. I assume the file /var/spool/cron/crontabs/dave, so this is not what you want. The most straightforward way to look at it while being root, by running for example the command sudo cat /var/spool/cron/contabs/www-data If you want to go to the directory you would have to become root, e.g. by running "sudo su -" and then "cd /var/spool/cron/crontabs/", etc. Now one easy way to disable it is just to move the file to another place and change ownership but make sure that you keep a copy so you can refer to it to know what the attacker was doing with your machine if effectively it has been pwned... Hope this helps, Evan
- Follow-Ups:
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Keith Bawden
- References:
- [tlug] Who is www-data, and why do they want my CPU?
- From: Dave M G
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Josh Glover
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Evan Monroig
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Dave M G
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: SL Baur
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Josh Glover
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Dave M G
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Evan Monroig
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: SL Baur
- Re: [tlug] Who is www-data, and why do they want my CPU?
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Who is www-data, and why do they want my CPU?
- Next by Date: Re: [tlug] Who is www-data, and why do they want my CPU?
- Previous by thread: Re: [tlug] Who is www-data, and why do they want my CPU?
- Next by thread: Re: [tlug] Who is www-data, and why do they want my CPU?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links