Results 1 to 3 of 3
I am working on a system that uses Red Hat Client 5.3. FIles keep being created all over the system. They are all named nul and are zero length. We ...
- 04-14-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 13
nul files appearing
I am working on a system that uses Red Hat Client 5.3. FIles keep being created all over the system. They are all named nul and are zero length. We use a common login and thy are owned by this login account. I have grep'd the entire system looking for some code that would be writing these files but nothing has come up. Any ideas?
- 04-14-2010 #2
First of all: Common login = bad
As you now experience, you can not ask one specific user, wth (s)he is doing, instead it is somewhat cloudy.
Some steps:
- Issue "history" as that user
- Issue "last" to get an idea if the login times somehow corelate with the creation time of these files.
- "crontab -u <COMMONUSER> -l" to check for possible cronjobs
- also search the system crontab and hourly/daily/etc while you are at it
- It is also possible, that some sftp / ftp / <whatever_you_offer> client connected with these credentials. Check the logs.
- Do any daemons run with that uid?You must always face the curtain with a bow.
- 04-15-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You can use the inotify subsystem to watch for file creation and use that information to find out what application is creating those nul files.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote