I'm trying to run the command
cat ./password | sudo -Skp '' yum install git
and it goes through the motion and finally gets to the last line where it returns
Is this ok [y/N]: Operation aborted.
For some reason it is automatically canceling the install before any user input, I could probably look into yum options for a do not prompt but the command will likely change in the future. So I'm really hoping to get
sudo, who I suspect is the culprit in canceling the install to play nicely with whatever command it is given after being authenticated from stdin.
To be clear
yum in this example is an arbitrary command, it could be any interactive command and I'm hoping to make any such interactive command wait for the users input rather then close immediately.