If you are using the Addigy Live Terminal and receive a password prompt when trying to use sudo, then here are some steps you could use to allow the AddigySSH user to bypass the password prompt. In order to give the AddigySSH user permission to sudo, the /etc/sudoers file needs to point to the /etc/sudoers.d/ directory to import external sudoers.
Note: modifying the sudoers file is extremely dangerous! We do not recommend you edit this file on your own. The file is critical to the functioning of your machine. Damaging the sudoers file can have catastrophic effects on your machine.
Modifying /etc/sudoers File Using the Predefined Command
Step 1: Navigate to the Devices page from the left column menu.
Step 2: Click the Manage button to open up the Saved Scripts window.
Step 3: Select the Live Terminal - Add /private/etc/sudoers.d to sudoers from your catalog of Saved Scripts.
Step 4: Click the Green Icon next to the script's name to set it for deployment.
Step 5: Select the devices you wish to run the script on.
Step 6: Click the Send button next to the script textbox.
After running the Script, if you continue to experience issues with Addigy Live Terminal, then please reach out to Addigy's support team for additional team.
Note: If you do not have the script necessary saved, please follow the steps below:
Step 1: Find the Community dropdown from the left column menu.
Step 2: Select the Scripts link from the dropdown.
Step 3: Using the search bar type in keywords, in this case "Live" to find the script we're looking for more quickly.
Step 4: Select the Script Live Terminal - Add /private/etc/sudoers.d to sudoers to open the script's page.
Step 5: Click the Copy to My Scripts button to save this script to your catalog of Saved Scripts to run on your devices.
If you have an Addigy account and have additional questions, you can create a ticket by emailing firstname.lastname@example.org.
Alternatively, you can submit a support request within Addigy.