Applicable to:
- Plesk for Linux
Symptoms
- Plesk Obsidian running on a Linux-based operating system
- The Support SSH Access extension for Plesk provides error that is similar to the following on an attempt to provide server access:
PLESK_ERROR: Failed to provide access: Extracting JSON from visudo failed: Binary sa-visudo.sh execution failed with error code 1; stdout [] stderr [visudo: invalid option -- 'x' usage: visudo [-chqsV] [-f sudoers] ]
Cause
An outdated sudo
package installed on the server and it prevents the extension from functioning as expected.
Resolution
Update the sudo
package by following these steps:
1. Log into your server via SSH as the root user
2. Update using one of the following commands (depending on the type of operating system you are using):
For a RHEL-based operating system:
# yum install sudo -y
For a Debian-based operating system
# apt update && apt install sudo -y
Once this is done, you would be able to provide server access via the Support SSH Access extension for Plesk normally
Comments
0 comments
Please sign in to leave a comment.