[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Sudo problem with stored passwords

From: Richard Thomas <richard.thomas_at_psysolutions.com>
Date: Thu, 14 Aug 2008 09:38:14 -0500

strace indicates that it is attempting to read from the home directory
of the user who is running the command. This is not an issue since the
users have access to the repository. If I add the www-data user to the
user's group and give permissions, I think this should work out.

(Edit: Yes, that fixed it).

Thanks

Rich

Richard Thomas wrote:
> With an older version of subversion, I could allow users to deploy
> changes as a different user using the sudo command.
>
> sudo -u www-data /path/deploy.sh
>
> where deploy.sh was along the lines of
>
> svn update /www
>
> This would run svn as www-data, use the password from
> /home/www-data/.subversion/auth/svn.simple/ and everything would check
> out fine. A while back, I upgraded subversion and this behavior broke.
> Now, it prompts for the password for www-data instead of reading from
> the file. Even when I enter the password, it still asks the next time.
>
> Anyone know what's up and how to fix or work-around? Handing out the
> password to www-data is not really an option.
>
> Rich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-14 16:38:54 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.