What about disabling the tty requirement for sudo with '!requiretty' in your /etc/sudoers setup? <br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 12:11 PM,  <span dir="ltr"><<a href="mailto:tony.chamberlain@lemko.com">tony.chamberlain@lemko.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hello<br>
<br>
I need to know a way to have scp allocate a tty on a remote machine<br>
so I can have it run sudo and activate a vpn which it will need to<br>
activate. scp with "-S" does not work. I can't chmod +s the cisco vpn client<br>
because when I try to run it it says it can not have setuser.<br>
<br>
I could have the user scp via root but I do not want to do that.<br>
<br>
Any way to have scp allocate a tty?<br>
<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>