0

I have Mac OS PC, let's name it PC1, and I have Linux PC (PC2), on Mac os PC I have python script(reverse shell), I need to make it run on system start or user login(no matter) threw terminal, I have sudo access to Mac OS terminal from my Linux, so how can I do it?

  • Welcome to Ask Different. Are you basically asking how macOS shell dot files run to set up environment or how to make a launchd task on Mac? With PC and PC1 and PC2 what “do it” means isn’t clear at all to me. – bmike Jul 09 '20 at 10:03
  • I mean, how can I make python run on system startup using only terminal – MRHYPER Jul 09 '20 at 10:10
  • Please edit instead of deleting and reasking. We lose track of the things discussed in the comments otherwise – nohillside Jul 09 '20 at 10:38
  • 1
    If you do, please also explain with which step you are struggling: remote login from Linux to Mac, using launchd/cron on macOS, getting your script to work etc – nohillside Jul 09 '20 at 10:59

0 Answers0