terminal command on startup

Caist
New Contributor

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

Thanks!

2 REPLIES 2

Jason
Contributor II

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.

Caist
New Contributor

Thanks! exactly what I was looking for!