adsys icon indicating copy to clipboard operation
adsys copied to clipboard

Feature: Run arbitrary script tied to a machine policy

Open r1200gsdave opened this issue 1 year ago • 1 comments

Is there an existing request for this feature?

  • [X] I have searched the existing issues and found none that matched mine

Describe the feature

I would like to be able to run a script to do something like install a program based on GPO.

Describe the ideal solution

Apon GPO refresh the machine runs script assigned to it.

Alternatives and current workarounds

No response

Ubuntu users: System information

No response

Non Ubuntu users: System information

Environment

  • adsys version: adsysctl 0.14.2~24.04ubuntu0.1 DEBUG Connecting as [[6804:824684]] DEBUG New request /service/Version DEBUG Requesting with parameters: DEBUG Check if grpc request peer is authorized DEBUG Any user always authorized adsysd 0.14.2~24.04ubuntu0.1
  • Distribution: "Ubuntu"
  • Distribution version: "24.04"

Additional information

No response

Double check your logs

  • [X] I have redacted any sensitive information from the logs

r1200gsdave avatar Nov 15 '24 16:11 r1200gsdave

Hey, thanks for using adsys and provide some suggestions to make it better.

We already support scripts (machine and users) on boot/shutdown and login/log off. You can find more documentation about them in https://documentation.ubuntu.com/adsys/en/latest/explanation/scripts/.

We don’t support one off scripts though so far. Couldn’t that policy lifecycle works for you? What would be the limitation and use case where this doesn’t work?

didrocks avatar Nov 18 '24 06:11 didrocks