From: Roger Pack Date: 2010-09-09T05:09:51+09:00 Subject: Re: Ruby executing shell commands > When I've tried to run an 'iptables -L', it shows me 'no tty present and > no askpass program specified'. And looking at Net-ssh API examples to > perform shell interaction, however I can't run any example... maybe you need to login as root, or allow your current user to sudo without password the iptables -L command. -r -- Posted via http://www.ruby-forum.com/.