Le script qui fait le café

apt-get install logwatch rkhunter chkrootkit tiger git vim curl zsh build-essential -y echo "syntax on" > /root/.vimrc echo Enter your mail address : read userMail /usr/sbin/logwatch --mailto $userMail --output mail --format html --range 'between -7 days and today' mv /etc/cron.daily/00logwatch /etc/cron.weekly/00logwatch service cron restart curl https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh | bash source ~/.profile nvm install 0.10 n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local nvm alias default 0.10 echo "deb http://nginx.org/packages/debian/ wheezy nginx" >> /etc/apt/sources.list.d/nginx.list echo "deb-src http://nginx.org/packages/debian/ wheezy nginx" >> /etc/apt/sources.list.d/nginx.list echo "Package: nginx Pin: origin nginx.org Pin-Priority: 900" >> /etc/apt/preferences.d/nginx apt-get update && apt-get install nginx -y update-rc.d nginx defaults adduser steph cd / mkdir tools chown -R steph:steph /tools/ echo "cd /tools/ mkdir test" >> test2.sh chmod 777 test2.sh su steph
 * 1) !/bin/sh
 * 1) install des applis
 * 1) config vim
 * 1) config logwatch
 * 1) Install NVM
 * 1) install nginx