[CentOS] scp with tty

Marc Wiatrowski mwia at iglass.net
Tue Oct 13 18:25:32 UTC 2009

What about disabling the tty requirement for sudo with '!requiretty' in your
/etc/sudoers setup?

On Mon, Oct 12, 2009 at 12:11 PM, <tony.chamberlain at lemko.com> wrote:

> Hello
> I need to know a way to have scp allocate a tty on a remote machine
> so I can have it run sudo and activate a vpn which it will need to
> activate. scp with "-S" does not work. I can't chmod +s the cisco vpn
> client
> because when I try to run it it says it can not have setuser.
> I could have the user scp via root but I do not want to do that.
> Any way to have scp allocate a tty?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091013/7dab15e8/attachment.html>

More information about the CentOS mailing list