On Tue, 22 Sep 2020 10:07:57 -0500, Lionel B Dyck wrote: > >And for that I�m getting: FOTS3322 Passwords may not be entered from 3270 >terminals > They're giving you a hint. Eschew 3270; don't be a masochist.
Years ago, I discovered that if I start "script" under 3270 OMVS, then I can enter passwords. Evidently script masked the 3270-ness. I don't know whether IBM has declared that a weakness and reinforced it. I did some tests. In a script I issued "stty -echo"; prompted for a string; "stty echo". In a C program, I used tcsetattr([~ECHO]) to disable echoing; read a string; and restored echoing. In both cases, the password was hidden in an ssh session but displayed momentarily in a 3270 session. I went to SR with both problems. I didn't mention my "script" hack lest they break it. They fixed stty somehow but chose to leave fcntl() broken. Go figger. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
