Using Python as the root shell on Gnu/Linux,
as an experiment it works and is very easy to setup...
given "/boot/x86-2.6.38-smgl ro init=/usr/bin/python2.7" as
Kernel with options launched, python makes a really wonderful if different
root shell for the Operating System and comes with a single serious limitation, you need to run your own system startup script every time the machine is restarted.
Postive Aspects
+ Shell Behaviour is defined and completely accessible with no major limits
+ Complete *static* command access as the on-disk and in-memory image
remains separated along with the in-memory image being complete
+ Extremely powerful including full byte-level memory editing of allocated
memory blocks, including inline modification of the running kernel!!
Negative Aspects
- There is *nothing* running apart from kernel threads and the init shell
- you need to specifically configure any kind of post-boot script and run it
Python as the shell
Sunday, April 24, 2011
Thursday, October 28, 2010
Starting out...
Yes...I decided to try and use python as an everyday shell on my Linux system for at least one user account,
Im not crazy enough to try this entirely for everyone...and seriously it wont be for everyone...
but I will simply blog in my experiences as I endeavour to use the python programming language as a replacement for bash...
We will see how far I get since I will simply be replacing the /bin/bash entry for a user-account with /usr/bin/python2.6 (Im choosing this version due to familiarity and existing modules installed)...
I may yet do a second user with a different version just to find out any quirks...
Off we go then,
J. L. Kajikawa
Im not crazy enough to try this entirely for everyone...and seriously it wont be for everyone...
but I will simply blog in my experiences as I endeavour to use the python programming language as a replacement for bash...
We will see how far I get since I will simply be replacing the /bin/bash entry for a user-account with /usr/bin/python2.6 (Im choosing this version due to familiarity and existing modules installed)...
I may yet do a second user with a different version just to find out any quirks...
Off we go then,
J. L. Kajikawa
Subscribe to:
Posts (Atom)