Inventions and Kill Switch
In the human history, just after the iron age, people looked for more. Something better than metal. Maybe stronger like diamonds? Or maybe cheaper and lighter. By 1800s people knew almost everything about metal and what they could have done with them. Multiple industrial usages like vehicles, weapons, home appliances and much more.
In 1860, an English chemist known as Joseph Swan produced the first Carbon Fibers. Later on it was identified that could be produced stronger
that most metals, no corrosion, water resistant and much lighter. Still perhaps
it was bit expensive to produce.
People wanted more. In 1907 a Belgian chemist known as Leo Hendrik invented an unusual material that with some improvements it was virtually indestructible by
any natural cause. This was one of the great inventions ever. It could build almost
everything. Home appliances, food containers even vehicles. More than anything it
was really cheap to build. Now we live in 2019 more than 100 years passed. Most
of the stuff that built from them are still there without any decay.
Guess what! Leo’s last name was Baekeland and his
invention was Bakelite the very first synthetic polymer or plastic. Later on, scientists
were able to make better plastic materials and people built almost everything
with them. What they forgot to build was a proper kill switch to this indestructible
material. Thus they keep piling up on the earth and in the ocean, leaving the animals and the whole world in danger. Even there were kill switches
or methods of recycling, they are either expensive or inefficient. Probably its about time that
someone discover a better alternative recycling method before it is too late.
So,
it could be a good idea to think about a kill switch also whenever you build
something.
Did you know that there is a kill switch in Ubuntu machines?
In older Ubuntu versions, it was enabled by default. Later on it was identified as a potential security bug and they have disabled it. Still, we can see the switch out there waiting to be found.
The idea of the usage is, whenever your system is crashed or non-responsive, you can make it reboot just by pressing a magic key sequence.
shortcut keys - Alt + sysrq + REISUB
When you type in the last key "B", the system is going to halt whatever the program that is currently running and start rebooting itself.
However, with the newer Ubuntu versions (12.10 and newer), this is turned off by default. You can see how to enable it by reading the config file
/etc/sysctl.d/10-magic-sysrq.conf
------------------------------------------------------------------------------------------
# The magic SysRq key enables certain keyboard combinations to be
# interpreted by the kernel to help with debugging. The kernel will respond
# to these keys regardless of the current running applications.
#
# In general, the magic SysRq key is not needed for the average Ubuntu
# system, and having it enabled by default can lead to security issues on
# the console such as being able to dump memory or to kill arbitrary
# processes including the running screen lock.
#
# Here is the list of possible values:
# 0 - disable sysrq completely
# 1 - enable all functions of sysrq
# >1 - enable certain functions by adding up the following values:
# 2 - enable control of console logging level
# 4 - enable control of keyboard (SAK, unraw)
# 8 - enable debugging dumps of processes etc.
# 16 - enable sync command
# 32 - enable remount read-only
# 64 - enable signalling of processes (term, kill, oom-kill)
# 128 - allow reboot/poweroff
# 256 - allow nicing of all RT tasks
#
# For example, to enable both control of console logging level and
# debugging dumps of processes: kernel.sysrq = 10
#
kernel.sysrq = 176
------------------------------------------------------------------------------------------
Comments
Post a Comment