On Sun, 26 Mar 2000,  Gerard Parat wrote about,  Re: I have fogotten:
> Michael Schwarz wrote:
> 
> > The most damage you can do when running anything as a non-privledged user
> > is to that user's own files.
> 
> Yes, but ...
> I remember a silly script I tried. It was a recursive script that was
> creating a directory, then moved itself in that directory, then run again ...
> and again.
> The result was a deep tree of directory (thousands!) and I never manage to
> delete it. It ate all free inodes on the disk partition. I tried several
> remedy like debugfs, shell script or binary executables, none success. So
> now, I learn to use quota to set boundaries for a user ;-)
> 
> Morality: Although it was a process running with non-priviledged rights, it
> damaged the whole partition (filling and locking the free part). Be aware of
> security hole!

"security hole!" no.
If one is silly enough to simply execute a script without seeing what it
does "first" then the person who executes the script is the "security hole!"

A script which is wriiten in such a way as to do something like that cannot
be considered to be a virus or anything of the sort, but simply a mallous
way of taking up disk space.

Sounds to me like a simple;
cd /dir  {which was created by the script}
rm -rf *
rm -f <name_of_script>

> --
> 73 G�rard F6FGZ
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

Reply via email to