sudo: no tty present and no askpass program specified
error message is displayed while running shell script from Mac automator. Please let me know how to fix this ?
Shell Script is given below:
#!/bin/bash
for ((i=2;i<256;i++))
do
sudo ifconfig lo0 alias 127.0.0.$i up
done