- #!/bin/bash
- # copy file from SCP server to local system
- sudo scp -r anonymous@ptiwa001:falcon-sensor_6.46.0-14306.deb ~/
- # install package using dpkg
- sudo dpkg -i falcon-sensor_6.46.0-14306.deb
- # Run the additional command
- sudo /opt/CrowdStrike/falconctl -s --cid=D0511099B3FF494D8B87F48C4AB90201-56
- # start the service
- sudo systemctl start falcon-sensor
- # check the status of the service
- sudo systemctl status falcon-sensor
|