ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <>
Subject Re: How do I execute a sudo ssh command?
Date Thu, 04 Nov 2004 06:02:55 GMT
There are also other ways:

    * set setuid bit on executable you want to execute under different
    * execute ssh user@host and copy authorized keys from your account
      into that user account - in that case ssh will not ask for a password.

- Alexey.

Colin Harris wrote:

>Is that really the only way.  I find it hard to believe that there is no
>other way to achieve this.
>Unfortunetely it is not possible for me to configure sudo to allow me to run
>commands without entering the password.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message