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

Provide a way to run custom actions #86

Open
alkisg opened this issue Nov 23, 2018 · 0 comments
Open

Provide a way to run custom actions #86

alkisg opened this issue Nov 23, 2018 · 0 comments

Comments

@alkisg
Copy link
Member

alkisg commented Nov 23, 2018

Epoptes should provide a way to run custom actions. Let's take an example of "a teacher wants to copy files to his student's desktops, while using Epoptes in an LTSP environment".

The teacher would need to create a bash script and put it in e.g. ~/.config/epoptes/scripts/copy-dir. Epoptes would invoke that script, while passing the selected clients information, IPs, hostnames, usernames etc. The script would run the server-side commands that it needs, e.g. prompting the teacher "which directory do you want to send?", using whatever tools the teacher programmed in it, e.g. zenity.

Finally, the script would output commands for Epoptes to run on the clients, like "cp -a /home/teacher/the-dir-to-copy ~/Desktop/. Implementing a command-line Epoptes tool isn't necessary in this approach, the commands can be sent from the GUI.

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

1 participant