lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How a normal user can crash any linux system (fwd)
* Jim Bryant <jbryant@ppp-207-193-186-239.kscymo.swbell.net> [000322 14:19] wrote:
> In reply:
> > This is cross-posted to both linux-kernel and freebsd-hackers, please
> > set your replies properly.
> >
> > > I found the following by accident playing with PVM. If you start the
> > > 'gexample' from the examples directory with dimension=10000 and no of
> > > tasks=32 on one machine, it becomes almost immediately completely un-
> > > usable and begins with heavy swapping. Considering how much memory
> > > would be necessary for this computation before starting it would have
> > > avoided the trouble.
>
> well, there are other ways to make a system slow to a crawl....
>
> a good preventative measure is to never give shell accounts unless
> everyone is accountable.

True.

>
> #!/bin/csh
> /usr/games/primes 1 4294967295 >&/dev/null&

....

> /usr/games/primes 1 4294967295 >&/dev/null&
> # etc, ...
> #
> # [get the idea?]

why are you 'scripting' in csh? eww.

No i don't get the idea, login.conf in FreeBSD is able to limit a user
to a maximum amount of processes, I think even cputime limitations work
but I haven't tried them.

Yes, and one shouldn't give accounts out to irresponcible/thoughtless
people. 'rmuser' is your friend.

--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.157 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site