How to enable SUDO on Azure Debian webapp ?
Hans Baumhardt
0
Reputation points
Upgraded a Azure Linux webapp from PHP8 to PHP8.3 as required by an on screen portal admin notification.
The SUDO management command no longer works in an SSH session.
-bash: sudo: command not found
Apparently PHP8.3 is now a DEBIAN Linux build which does not include SUDO.
Trying to install sudo fails:
su -
apt-get install sudo -y
E: Unable to locate package sudo
yeah, thanks Microsoft.
Sign in to answer