ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
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
      credentials;
    * 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.
>
>col.
>  
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message