How Linux helps to understand god

A simple experiment on a Linux machine can help us to understand the Holy Word of God.

We assume that our name is “M” and we have a mission that is deeply seated in us: “We want to make the world a better place. We want peace on earth.”

First let us check if there is any evil in our world.

$ grep -Hr "daemon" / 
/etc/passwd:daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
/etc/passwd:usbmux:x:107:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
/etc/passwd:pulse:x:109:115:PulseAudio daemon,,,:/var/run/pulse:/usr/sbin/nologin
/etc/passwd:avahi:x:111:118:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/usr/sbin/nologin
/etc/passwd:colord:x:115:125:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin

Actually we found a lot of daemons. But it seems to be easy to get rid of them because each of them can be identified by a distinct number.

Then let’s kill them one by one… Oh wait a minute. Didn’t god say: “You shall not kill”? Hm, but he did not say that I am not allowed to let someone else do it for me.”

OK, let’s instruct our best agent to do this job. The only thing that he needs is a license to kill. That is just paperwork:

#!/bin/bash
# LICENSE TO KILL
DAEMONS="1 107 109 111 115"

# EVIL WORLD
for DAEMON in ${DAEMONS}
do
 kill -s SIGKILL ${DAEMON} 
done

# PEACE

We save that license as /usr/local/bin/007kill

In order to use it he has to act on the behalf of god. No worries lawmakers allowed me to change that permission. Everything is 100% legal.

So we set the SUID bit with chmod u+s /usr/local/bin/007kill

It is a personal license for 007 only so the last thing we have to do is make sure no one else can use it.

chmod 007 /usr/local/bin/007kill

Perfect. God will be pleased with us.

Now 007, do your job and kill all of those daemons. You will find your license in your $PATH. Our queen will honour you once you saved the world.

bond@mission:/home/world# 007kill
Connection reset by peer

“Do not judge, or you too will be judged. For in the same way you judge others, you will be judged, and with the measure you use, it will be measured to you”, Matthew 7:1-2

Contact