1

bash script error stty: standard input: Inappropriate ioctl for device

view story
linux-howto

http://unix.stackexchange.com – I'm using here-documents in a bash script to automate installation and setup where a password is required many times. I enter the password once and the script passes it to the various commands. In most instances the here-document approach handles this fine. However, in one case I get this error: Enter VNC password: stty: standard input: Inappropriate ioctl for device Verify password: stty: standard input: Inappropriate ioctl for device Please notice that this error message is from x11vnc -storepassword (not from sudo.) My problem is related to x11vnc -storepasswd and here's my code: (HowTos)