Skip to main content

Help with a small Script

Comments

4 comments

  • SysSachin
    Please try following for loop command on your server to apply security patch for your all user.
    for username in `ls /var/cpanel/users` ;do cd /home/$username/public_html ;cp /root/patch-001.sh /home/$username/public_html/ ; sh patch-001.sh ;sleep 10;done
    0
  • Raggie A Pauly
    Thanks for sharing this info here.
    0
  • SysSachin
    @Raggie A Pauly You are welcome ! Please update here if need any help related this process.
    0
  • cPanelMichael
    Hello, I've moved this thread to our "Workarounds and Optimization" forum. Thanks!
    0

Please sign in to leave a comment.