svn export시 ATTENTION! Your password for authentication realm 하고 나올 때 해결책

[녹풍] 더 나은 해결책을 발견해서 내용을 추가한 후 재발행한다.

ATTENTION! Your password for authentication realm:

Subversion Repositories

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/hahaite/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
Please type 'yes' or 'no': yes
Please type 'yes' or 'no': y
Please type 'yes' or 'no': 'yes'
Please type 'yes' or 'no': no
Please type 'yes' or 'no': 18
Please type 'yes' or 'no':

yes든 no든 안 먹히고 그냥 멈춘다.

해결책1

[해결책1은 2011-08-05에 추가한 내용이다. – 녹풍]

firejune님 블로그에서 발견한 내용이다.

여기서 한참 삽질하다가 포기할 뻔 했습니다. locale이 한글로 되어있던게 원인이더군요. “예” 또는 “아니오”로 입력해야 됩니다.

해결책2

이 해결책은 gnome keyring manager 써보신 분이나, SVN 에서 암호화안된 패스워드 처리법 아시는 분~ 을 참고했다.

아예 명령어에 암호화되지 않은 패스워드를 입력하는 방법이다. 명령줄 맨 뒤에 --password myPassword 하고 입력해 주는 것이다.

이런 식이 될 것이다. 암호를 1234로 가정하자.

svn export svn://192.168.0.100/myProject/trunk . --password 1234

이러면 해결된다. 별로 좋은 방법은 아닌 것 같다. 암호를 평문으로 입력해야 하기 때문이다.

그냥 할 때는 상관 없는데, 자동으로 export를 돌려야 할 때는 쉘 스크립트에 암호를 평문으로 박아야 하니 좀 찝찝하다.

더 나은 해결책은 Subversion 1.6: Security Improvements Illustrated[번역: 서브버전 1.6 보안 개선 예제]에서 찾아볼 수 있는 듯하다. 정석대로 공부하고 싶은 분은 이 글을 읽는 편이 좋을 것이다.

👇 카테고리 글 목록

대표글

“svn export시 ATTENTION! Your password for authentication realm 하고 나올 때 해결책”에 대한 2개의 응답

  1. ㅋㅋㅋ 저도 완전 삽질할뻔했네요 ..

    1. 이거 완전 개그에요 그쵸? ㅋ

댓글 남기기