Skip to main content
Question

terminal command on startup

  • October 13, 2015
  • 2 replies
  • 6 views

Forum|alt.badge.img+5

Yea, basically, how can I run a sudo command on machine startup?

Thanks!

2 replies

Forum|alt.badge.img+16
  • Valued Contributor
  • October 13, 2015

You could create a Policy that has a trigger of Startup. Under "Files and Processes" in the Policy, use "Execute Command". You can then enter your command (without needing to add "sudo" to the front of it) and it will run at startup.


Forum|alt.badge.img+5
  • Author
  • Contributor
  • October 13, 2015

Thanks! exactly what I was looking for!