Archive for the ‘Linux’ Category
stk500 avr atmega16 linux gcc hello, world
Saturday, April 4th, 2009 by webstersprodigyDoes my title sound like buz-word central? You bet it does. That’s because it was a bit difficult to find any good introductory material on this. Maybe that’s because there’s so much information out there…
php multiuser system – the www-data problem
Thursday, March 19th, 2009 by webstersprodigyOn our multi-user system, one where we have 300+ users all with usermod enabled, we also happen to have other web services running. It’s inconvenient and in some ways insecure for everyone to be running their dynamic web stuff as the same user. One problem in particular is php. suexec was built for cgi-bin stuff – but php is a whole other beast. That’s what I’m talking about here – getting php to run as the user who owns it. More specifically, this will show how /home/user/public_html/myphp.php will run as “user”, but stuff in /var/www will still run as www-data.
Auto Restore Virtualbox
Wednesday, March 18th, 2009 by webstersprodigyFor the security class I’m teaching we recently had a box to pwn. Problem is, they would sometimes get the address wrong and crash the virtual system. I probably would have just distributed the vdi, but not all of them have machines robust enough to run a vm, so I had to set something up.