Fix for bug #9128: issue with salt-master ttys with lvdisplay command

lvdisplay checks the file flags of the ttys file descriptors.
Currently all three stds file descriptor are set write only.

This fix :
+ set stdin as read only
+ set stdout, stderr as write only