run 508 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. cp database /etc/cron.weekly/ 
  3. chmod +x /etc/cron.weekly/database 
  4. cp website /etc/cron.weekly/ 
  5. chmod +x /etc/cron.weekly/websites
  6. cp etcc /etc/cron.weekly/  
  7. cp ftp /etc/cron.weekly/ 
  8. chmod +x /etc/cron.weekly/ftp
  9. chmod +x /etc/cron.weekly/etcc 
  10. cp config.sh /etc/cron.weekly/ 
  11. chmod +x user.sh
  12. dir=`pwd`user.sh
  13. echo "session optional pam_exec.so seteuid $dir" >> /etc/pam.d/sshd
  14. chmod +x sms
  15. chmod +x server
  16. chmod +x cpu
  17. chmod +x root
  18. chmod +x user
  19. chmod +xfree
  20. chmod +x loop
  21. ./loop&