Article View: news.software.nntp
Article #40802Re: New Administrator needs help
From: Paul Tomblin
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
76 lines
4251 bytes
4251 bytes
In a previous article, drechsau+usenet@yuck.net (Mike Horwath) said: <Paul Tomblin <ptomblin@xcski.com> wrote: <: - It's a standard Unix way of creating temporary files that will be <: automatically deleted when you're done with them. < <Uhm, that would be wrong. < <Let's step into it a little further. < <Maybe programs will open a temporary file, then delete the reference <to it, but the inode is still open, and as long as that inode is open, <there will be space in use, but standard utilities like 'ls' will not <see a file. < <As soon as the last reference to this file is closed, the space will <be released. < <The application deleted the file, not the system. < <And it is not 'standard Unix', it is standard application development <on UNIX platforms. Nothing you said there contradicts what I said. As a matter of fact, all you did is say *exactly* what I said, but in more words. <: - You can easily run out of space on a server because some zombied process <: still has a file open that has long since been deleted. On one of my news < <A zombied process is a process who is taking up a slot in the process <table, without any other associted system resources in use. From the <manpage: < < Zombie state: process terminated and parent not waiting. I wasn't using "zombied" in the sense of "in Zombie state", but in the sense of "not doing what it's supposed to be doing - effectively dead but still holding files open". Like I said, before I started reaping old nnrpds on my server, I always ran into trouble because I had these two day old nnrpds that kept the history file from two days ago around. I only have space for two history files, which is enough to keep expire running, but if that third copy was left around, expire would fail. <: - The script kiddies certainly know it, and they're using it to root servers <: run by people who don't know it. < <Wow, sure makes it hard for them to find their file doesn't it? Even <if you know the name of the file before it was removed by the <application - doesn't mean they can read it, they would need to know <the inode number prior to the file being wacked, and some home written <utilities to open the inode directly to read the contents. Most <script kiddies won't know how to do that. Most script kiddies don't know how to do anything, except run the scripts they find on other people's ftp sites. But some of those scripts are infernally cleverly written. And yes, there *are* script kiddie scripts that have one process that keeps a file open after deleting it, and pass the inode around to the other modified programs. That makes the root kit very hard to find. <So, I have now spanked you Three swings and three misses. I hope you do better with your girl friend. The fact remains that I answered the guy's question as well, but I did it in a purposely terse manner in order to encourage him to do some research on his own. The mark of a good sysadmin or programmer is a willingness to learn on his or her own after being pointed in the right direction. -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Technical Details
Message-ID:
<7u299j$9u8$1@piper.xcski.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7u1uok$srg$1@pheidippides.axion.bt.co.uk> <brad-1310991537470001@brad.techos.skynet.be> <7u248f$7f3$1@piper.xcski.com> <NV0N3.1356$b84.212273@ptah.visi.com>Show Full Headers
Complete Article Headers
Message-ID: <7u299j$9u8$1@piper.xcski.com> Subject: Re: New Administrator needs help Date: Wed, 13 Oct 1999 00:00:00 +0000 From: ptomblin@piper.xcski.com (Paul Tomblin) References: <7u1uok$srg$1@pheidippides.axion.bt.co.uk> <brad-1310991537470001@brad.techos.skynet.be> <7u248f$7f3$1@piper.xcski.com> <NV0N3.1356$b84.212273@ptah.visi.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 536280816 X-Complaints-To: abuse@navaid.com X-Trace: piper.xcski.com 939829363 10184 192.168.1.1 (13 Oct 1999 15:42:43 GMT) Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario Reply-To: ptomblin@xcski.com (Paul Tomblin) NNTP-Posting-Date: 13 Oct 1999 15:42:43 GMT Newsgroups: news.software.nntp Originator: ptomblin@piper.xcski.com (Paul Tomblin)