by default rundeck runs as the rundeck user. For some tasks you will need to execute the script as another user. Here is a quick rundown on how to do it. Configuration Steps Login via ssh to the server. Edit /etc/sudoers and add the following lines. This will allow the rundeck user to execute sudo
Some custom Powershell scripts and settings I like to have available for all Powershell sessions. To do this I add the following to my Powershell profile so it loads all scripts in a directory when opening. First create a directory to store the script files. I use c:\users\<USER>\ProfileScripts now add your scripts to that directory.
This is a simple webserver backup script that utilizes rclone to mount onedrive storage to store backups. You can use any rclone configured storage. How to use the script copy the script below and update the config VARs section and change all <USERNAME> sections to point to the appropriate user. This script assumes web site