Why echo \'password\' | sudo -S sudo -s does not work whereas echo \'password\' | sudo -S mount -a works?
\'password\' | sudo -S sudo -s
echo \'password\' | sudo -S mount -a
Here is the error message: