# Automation Scripting Question

**URL:** <https://community.learnlinux.tv/t/automation-scripting-question/3534>\
**Category:** Linux Security\
**Created:** [February 1, 2024, 5:22pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534 "2024-02-01T17:22:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_McBride](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Mr\_McBride](https://community.learnlinux.tv/u/Mr_McBride)\
**Post date:** [February 1, 2024, 5:22pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/1 "2024-02-01T17:22:07Z")

</div>

I write automation scripts at work in python and I have a question about how to grant other people access to run the script without granting them access to the Linux server.

Does anyone know of an application and/or utility that will allow (authorized) users to click a button or such and have a script run on a remote Linux server without the (non-Linux) user having to login to the Linux server?

---

<div class="post-metadata">

**Author:** ![ThatGuyB](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/thatguyb/32/784_2.png) [@ThatGuyB](https://community.learnlinux.tv/u/ThatGuyB)\
**Post date:** [February 1, 2024, 10:27pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/2 "2024-02-01T22:27:56Z")

</div>

Rundeck.

---

<div class="post-metadata">

**Author:** ![Mr\_McBride](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Mr\_McBride](https://community.learnlinux.tv/u/Mr_McBride)\
**Post date:** [February 2, 2024, 1:28pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/3 "2024-02-02T13:28:27Z")

</div>

Thanks, I’ll take a look at Rundeck.

Someone on Matrix suggested [cronicle](https://github.com/cronicle-edge/cronicle-edge), which I’m looking at right now.

EDIT: That link is actually to cronicle-edge, which is a fork that included LDAP support (don’t ask).

---

<div class="post-metadata">

**Author:** ![ThatGuyB](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/thatguyb/32/784_2.png) [@ThatGuyB](https://community.learnlinux.tv/u/ThatGuyB)\
**Post date:** [February 2, 2024, 2:24pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/4 "2024-02-02T14:24:31Z")

</div>

Rundeck is just a bare basic “centralized cron” so to speak, which has the option to run jobs on-demand with the click of a button. You can have Rundeck admins (who create jobs and schedules) and rundeck operators, who just view jobs and maybe trigger jobs if they have permissions.

I used rundeck to run Oracle backups (don’t ask) and the DBAs would need to run their backups on-demand from time to time, so this made it easier for them.

---

<div class="post-metadata">

**Author:** ![rootamit](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/r/e274bd/32.png) [@rootamit](https://community.learnlinux.tv/u/rootamit)\
**Post date:** [February 23, 2024, 8:26am UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/5 "2024-02-23T08:26:55Z")

</div>

I think you can use automation tools like Ansible or Jenkins to run the script remotely.

---

<div class="post-metadata">

**Author:** ![Mr\_McBride](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Mr\_McBride](https://community.learnlinux.tv/u/Mr_McBride)\
**Post date:** [February 23, 2024, 12:32pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/6 "2024-02-23T12:32:30Z")

</div>

How does Ansible or Jenkins provide security controls for granting execute only access to a script on a remote host?

---

<div class="post-metadata">

**Author:** ![rootamit](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/r/e274bd/32.png) [@rootamit](https://community.learnlinux.tv/u/rootamit)\
**Post date:** [February 24, 2024, 8:08am UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/7 "2024-02-24T08:08:40Z")

</div>

ssh plugin  
pipeline script  
there are many more just explore yourself

---

<div class="post-metadata">

**Author:** ![Mr\_McBride](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Mr\_McBride](https://community.learnlinux.tv/u/Mr_McBride)\
**Post date:** [February 26, 2024, 12:07pm UTC](https://community.learnlinux.tv/t/automation-scripting-question/3534/8 "2024-02-26T12:07:44Z")

</div>

Thanks, I’ll take a look at those.
