Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an app (using shell script) that automates the process of committing to svn , generating svn info and emailing it. But every now and then I get the following

Authentication realm: < svn://> example realm
Username: testuser
Password for 'testuser':

This usually happens when user changes the password( this is a system wide password) used for connecting to the Remote Repository. My app gets stuck at this stage since it doesn't check if the password changed before adding and committing.I just want my app to authenticate the user credentials before commit process and alert the user that authentication has failed and he needs to provide the new password. Is it possible to do this using shell script?

share|improve this question
up vote 0 down vote accepted

If I use the --non-interactive option when committing a file, it will not request for authentication when the commit operation fails. This is useful if you're running Subversion inside an automated script and it's more appropriate to have Subversion fail than to prompt for more information.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.