मैं जमा किए गए पासवर्ड / उपयोगकर्ताओं को कैसे बदल सकता हूं और मेरे प्रमाणीकरण क्रेडेंशियल्स को याद रख सकता हूं?


14

बैकग्राउंड: मुझे अपने नए इंस्टाल पर सब कुछ ठीक काम करने की आदत थी:

$ svn co https://domain:443/ test1
Error validating server certificate for 'https://domain:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: **REMOVED**
 - Valid: **REMOVED**
 - Issuer: **REMOVED**
 - Fingerprint: **checked with issuer and REMOVED**
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Authentication realm: <https://domain:443> Subversion repository
Password for 'nicdumz-machine-hostname':
Authentication realm: <https://domain:443> Subversion repository
Username: nicdumz
Password for 'nicdumz':

# proceeds to checkout correctly

$ svn co https://domain:443/ test2

# checkouts nicely, without asking for my password.

कुछ बिंदु पर मुझे एक अलग खाते का उपयोग करके सामान बनाने की आवश्यकता थी। तो मैंने ऐसा ही किया

$ svn ci --username other.user
Authentication realm: <https://domain:443> Subversion repository
Password for 'other.user':

# works fine

लेकिन तब से, हर बार मैं 'निकुद्म' के रूप में प्रतिबद्ध होना चाहता हूं (डिफ़ॉल्ट उपयोगकर्ता, सभी रिपोज को उस उपयोगकर्ता के साथ चेक-आउट किया गया है), यह मुझे मेरे पासवर्ड के लिए संकेत देता है:

$ svn ci
Authentication realm: <https://domain:443> Subversion repository
Password for 'nicdumz':

अरे आओ, क्यों :) वही होता है अगर मुझे एक नया चेकआउट चाहिए, क्योंकि रीड-एक्सेस भी संरक्षित है।

इसलिए मैंने खुद ही इस मुद्दे को सुलझाने की कोशिश की। मैंने इसके चारों ओर पढ़ा कि ~ / .subversion / परिस्थिति प्रमाणिकता संचय कर रहा था, इसलिए मैंने इसे रास्ते से हटा दिया:

$ cd ~/.subversion
$ mv auth oldauth
$ mkdir auth

यह पहली बार में काम करने के लिए लग रहा था, क्योंकि svn प्रमाणपत्र सत्यापन के बारे में भूल गया था:

$ svn co https://domain:443/ test3
Error validating server certificate for 'https://domain:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: **REMOVED**
 - Valid: **REMOVED**
 - Issuer: **REMOVED**
 - Fingerprint: **checked with issuer and REMOVED**
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Authentication realm: <https://domain:443> Subversion repository
Password for 'nicdumz-machine-hostname':
Authentication realm: <https://domain:443> Subversion repository
Username: nicdumz
Password for 'nicdumz':

# proceeds to checkout correctly

$ svn up
Authentication realm: <https://domain:443> Subversion repository
Password for 'nicdumz':

क्या? यह कैसे हो रहा है?

यदि आपके पास व्यवहार के बारे में अधिक जांच करने के लिए सुझाव हैं, तो मुझे बहुत दिलचस्पी है। अगर मैं सही हूं, तो क्रिया svn upया कुछ भी करने का कोई तरीका नहीं है , इसलिए मुझे यकीन नहीं है कि मुझे जांच के लिए जाना चाहिए। ओह, और इसके लायक क्या है:

$ svn --version
svn, version 1.6.6 (r40053)
   compiled Oct 26 2009, 06:19:08

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

जवाबों:


14

खैर, मुझे वही समस्या थी, और मैंने निर्देशिका निर्देशिका को हटा दिया। मैंने तब किया:

svn --username xxx update

जिसने मुझसे मेरा पासवर्ड मांगा, लेकिन तब वह यही था। मैं सिर्फ इतना कह सकता हूं कि मेरे लिए काम की गई डायरेक्ट्री को हटाना। क्या आपके पास अपने सर्वर फ़ाइल में उचित विकल्प हैं? अर्थात् (मुझे लगता है):

store-passwords = yes
store-plaintext-passwords = yes

में [global]खंड। मैं 100% निश्चित नहीं हूं, लेकिन यह मदद कर सकता है।

हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.