Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Run arbitrary script tied to a machine policy #1139

Open
2 tasks done
r1200gsdave opened this issue Nov 15, 2024 · 1 comment
Open
2 tasks done

Feature: Run arbitrary script tied to a machine policy #1139

r1200gsdave opened this issue Nov 15, 2024 · 1 comment

Comments

@r1200gsdave
Copy link

Is there an existing request for this feature?

  • 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.224.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

  • I have redacted any sensitive information from the logs
@didrocks
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants