LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-24-2013, 08:41 PM   #1
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Rep: Reputation: Disabled
Funny file crontab.vlsrut


I saw this file crontab.vlsrut in my /tmp with date 1/1/1970. I tried to google about it could not find. Any idea what is this file ?
 
Old 11-25-2013, 01:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Run 'stat' on the file, then 'strings -an1' and post the output.
 
Old 11-25-2013, 05:58 AM   #3
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear Unspawn,
Below is the results you required.

Quote:
stat crontab.vlSrUt
File: `crontab.vlSrUt'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd00h/64768d Inode: 1703944 Links: 1
Access: (0600/-rw-------) Uid: ( 500/ myuser) Gid: ( 500/ myuser)
Access: 2013-11-25 10:31:14.493986261 +0800
Modify: 1970-01-01 07:30:00.000000000 +0730
Change: 2013-05-18 18:06:54.499722156 +0800
strings -an1 crontab.vlSrUt gives me empty as I check the file is empty. I also checked crontab -e under this myuser is empty too and even after sudo -i is empty.
 
Old 11-25-2013, 12:00 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I confirm the temporary crontab file, as you would edit it via 'crontab -e', has a mtime of 1970. Probably broke off the edit so the temporary file remains. As it's empty you could delete it or it should be removed by 'tmpwatch' if installed and if so configured.
 
Old 11-25-2013, 01:01 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,647
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Agree. Many apps will generate files with a "temporary name," sometimes adding a random suffix (e.g. "vlsrut" could be a random string) because the temporary-files area in Linux is usually global. If the program dies, the file might be left behind. Nothing in this scenario, absent some other indication, is setting off warning-bells with me so far.
 
Old 11-25-2013, 08:24 PM   #6
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear Unspawn,
Thank you for the confirmation was kind of worried because I google and could not fine any information on the file extension. IS tmpwatch an internal centos programme or should I install it? So it means that I have have started the crontab -e and just shut if off half way so this the cause of it can I confirm that?
 
Old 11-25-2013, 08:26 PM   #7
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear Sundialcvs,
Thank you for the input because I could not google on the file extension got me worried. What do you mean by temporary-files area in Linux is usually global ?
 
Old 11-26-2013, 03:48 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by newbie14 View Post
IS tmpwatch an internal centos programme or should I install it?
Next time do make an effort please:
Code:
apropos tmpwatch || yum info tmpwatch

Quote:
Originally Posted by newbie14 View Post
So it means that I have have started the crontab -e and just shut if off half way so this the cause of it can I confirm that?
It may be, yes.
 
Old 11-26-2013, 08:44 PM   #9
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear Unspawn,
Sorry for that I am already googling it for some information it. I kind of learning a lots of new stuff and agree with what you told me earlier that security is an on going thing.
 
  


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
Adobe Reader on Slackware funny file ljb643 Slackware 9 07-01-2013 06:29 AM
Removing a funny file leebrent Linux - Newbie 8 03-28-2012 09:30 AM
[SOLVED] File Permissions - Funny story newholborn Linux - Server 2 09-27-2009 07:16 AM
LXer: Lawyer's Funny AntiLinux FUD Turns Out to be Not So Funny LXer Syndicated Linux News 0 08-11-2008 04:00 AM

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

All times are GMT -5. The time now is 08:53 AM.

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