[sudo-users] Please help me sudo

Todd C. Miller Todd.Miller at courtesan.com
Wed Dec 23 09:30:24 EST 2009


In message <312D09D33B3C0E4A9AE709A6577D3768053EA7A3 at APSW0132EVS.ms.ds.uhc.com>
	so spake "Kumar, Gyan" (gyan_kumar):

>  I am not able to run in ssh command.
> 
> ssh gkuma14 at cwr.uuu.com 'sudo -u wladmin -s -H '

You need to tell ssh to allocate a pty for the command.  E.g.

    ssh -tt gkuma14 at cwr.uuu.com 'sudo -u wladmin -s -H'

That should do the trick.

 - todd



More information about the sudo-users mailing list