Monday, April 30, 2012

The Sanity Shell


As part of the Cat Proof Computing Initiative,  I want to have a shell that is extra rhobust, and will keep users safe from bad things, and becoming interactive at a certain point. I'm a bit pumped up from Linuxfest.

  • I want to be safe from having files names -rf.
  • I want parenthesis matching
  • I want abnormal filename detection.
  • colorized edit line. (all the text editors do it) 
  • interaction with the terminal so that an output that would display encoded characters does not leave the other applications that follow it in a strange character mode.


some of this danger could be mitigated with aliases.
some of this might require simulation.

*For the simulation*
I can conceive of situations where the action could not be simulated... say with self modifying code, or detection of the conditions like being on a different filesystem.

white listing actions could be interesting...  but this isn't an easy problem to solve.


 I just had a thought  that I could use mount --bind to make a read only copy of my file system.  I then could make a folder differences apparent by having unionfs overlay,  then perform the actions and  confirm that what happened was ok, then apply those changes.


 I think this is a bit like having a transaction based shell... well we have transaction based filesystems, so that is likely the best way to deal with the idea... and reverting has less overhead.

*For shell and terminal interaction, I have seen terminals tell me what program is running inside it.  It should be able to reset it's characters everytime the shell comes back. by paying attention to it's child processes.











Sunday, April 29, 2012

LFNW 2012 Custom Live USB Linux Presentation

Thank you to the attendees of my Linux Fest Northwest presentation!

I got through the material, but I'm sorry for the bits of disorganization.  I feel I was below average, but still OK on quality, and hopefully scores better in usefulness.

I believe I now have 3 people trying my linux distro!


This Live USB project started as my Xmas Live Linux project.

This year, I made a Cat Proof Kubuntu Remix.  I may need to change it's name to Giftable Linux.

iso for catproof is now availabile:
https://docs.google.com/file/d/0B9eYzYpGeqzGWU4tUXRUQVdfUTg



other needed files are available at my website:
http://catproof.org