for the chmod part of ur question...go the folder that u wanna change using ur terminal, then type "chmod 755 "name of the folder u wanna change"" no...there is no way to put ur password into the shell script bcuz....its a security feature of unix based OSs' terminals to be ultra_secure i.e. it...