A couple days ago a CentOS Linux server that I took over administration on had some mysterious files show up in the /tmp and /var/tmp directories. The files were placed in /tmp and /var/tmp by the apache user meaning there is some form of security hole in Apache, PHP, or one of the virtual hosts has an insecure application installed. Before looking into where the issue is I needed to lock things down so no applications could be executed from these directories in the future regardless of a security flaw in the future. Below are instructions on how to secure /tmp and /var/tmp.
First of I would like to say that none of these hacks and files are my own work. This stuff was done by all the amazing phone developers over at XDA Developers. I am am simply writing a few posts on rooting the HTC Evo since most of the information was all spread out over the forums and I had a hard time gathering it all together in a organized manner.
NOTE: Please make sure you have completed parts 1,2,3,4 & 5 of this tutorial series before attempting this part.
Yesterday afternoon a friend dropped his computer by so I could make it go a bit faster which I initially thought must just be some application using up a ton of resources or something. The issue ended up being that the computer was an older PowerPC G4 running Mac OSX 10.3 that didn’t have a lot of RAM and hadn’t been updated in a long time. I happened to have PC133 RAM to stick in it so I added 512MB of RAM and then attempted to begin the software updates which requested his administrator password which I did not have. Turns out that he didn’t have the password either so below are directions on reseting the administrator password on a Mac running OSX. The process take a little while as you are required to boot into single user mode, go back through setup, modify the admin, and then delete the temporary admin account.
Booting Mac OSX into single user mode is fairly easy though I did run into an issue when using a Windows USB keyboard. Single user mode will allow you to modify the system without logging in for items such as changing the Mac OSX administrator password. Follow the directions below to boot into single user mode on Max OSX.
I recently completed a job were the company insisted in powering down the work station every night. This caused a problem because there were shared drives on the server which did not reconnect a boot time. The drives would appear to be disconnected with red X’s however when the user clicked on them they would connect. So although they were working the fact that they did not auto connect was annoying.