You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

cvspass.html 2.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. https://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <html lang="en">
  17. <head>
  18. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  19. <title>CVSPass Task</title>
  20. </head>
  21. <body>
  22. <h2 id="cvs">cvspass</h2>
  23. <h3>Description</h3>
  24. <p>Adds entries to a <samp>.cvspass</samp> file. Adding entries to this file has the same affect as
  25. a <kbd>cvs login</kbd> command.</p>
  26. <p><strong>CVSNT Note</strong>: CVSNT prefers users to store the passwords inside the registry. If
  27. the task doesn't seem to work for you, the most likely reason is that CVSNT ignores
  28. your <samp>.cvspass</samp> file
  29. completely. See <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=21657#c5"
  30. target="_top">bugzilla report 21657</a> for recommended workarounds.</p>
  31. <h3>Parameters</h3>
  32. <table class="attr">
  33. <tr>
  34. <th scope="col">Attribute</th>
  35. <th scope="col">Description</th>
  36. <th scope="col">Required</th>
  37. </tr>
  38. <tr>
  39. <td>cvsroot</td>
  40. <td>the CVS repository to add an entry for.</td>
  41. <td>Yes</td>
  42. </tr>
  43. <tr>
  44. <td>password</td>
  45. <td>Password to be added to the password file.</td>
  46. <td>Yes</td>
  47. </tr>
  48. <tr>
  49. <td>passfile</td>
  50. <td>Password file to add the entry to.</td>
  51. <td>No; default is <q>~/.cvspass</q></td>
  52. </tr>
  53. </table>
  54. <h3>Examples</h3>
  55. <p>Add an entry into the <samp>~/.cvspass</samp> password file.</p>
  56. <pre>
  57. &lt;cvspass cvsroot=&quot;:pserver:anoncvs@cvs.apache.org:/home/cvspublic&quot;
  58. password=&quot;anoncvs&quot;/&gt;</pre>
  59. </body>
  60. </html>