Hi All,

I have been lately disturbed by my fellow novice intern admins who have been
granted super user privileges. They are all trying the kiddish stuff and it
upsets the environment, and more over I am unable to hang around and see
what is happening and fix that.

Lately some of them have discovered "fork bomb", example

:(){ :|: & };:


and this works in my personal Ubuntu v-machines. I have figured out that if
run as root, this would keep on exhausting memory and system ultimately goes
down very slow.

Is there a way we can tweak the ulimit - user limit for all users.
http://www.linuxforums.org/forum/security/90836-user-limits-linux.html -
wasn't so helpful.

So typically in our environment, we all login as personal user (eg.
amarakshat) and then we do #sudo su - to become root. However root is still
logged in via a user, and if I can limit the user's memory, I can limit the
maximum memory this "FORK BOMB" can consume.

Any comments ?
-- 
Amar Akshat
Wells Fargo

"Real Programmers always confuse Christmas and Halloween because Oct31 ==
Dec25."
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to