d7821558a8809daee615d084507b3bdba981186b
[mirror/userdir-ldap-cgi.git] / html / password.wml
1 #use wml::db.d.o title="Lost or Forgotten password"
2
3 <p>
4 If you have lost or forgotten your LDAP password, you can have it reset
5 by sending a PGP signed message to the <a href="doc-mail.html">mail
6 gateway</a>:
7 <pre>
8 echo "Please change my Debian password" | gpg --clearsign | mail chpasswd@db.debian.org
9 or
10 echo "Please change my Debian password" | pgp -fast | mail chpasswd@db.debian.org
11 </pre>
12 The daemon will then respond with a new randomized password encrypted
13 with your key. You can then use the 
14 <a href="https://db.debian.org/login.html">SSL Web pages</a> to change your
15 password to something you can remember. You cannot set a new password via the
16 mail gateway.
17
18 <p>
19 Alternatively, you can do without a password and use PGP to manipulate your
20 LDAP information through the <a href="doc-mail.html">mail gateway</a> and use
21 SSH RSA Authentication to access the servers. To setup OpenSSH for RSA you
22 need to first generate a private RSA key using <tt>ssh-keygen</tt> and select
23 a good passphrase for it. Then send the public portion of the key to the LDAP
24 directory:
25 <pre>
26 gpg --clearsign < ~/.ssh/id_rsa.pub | mail changes@db.debian.org
27 </pre>
28
29 <p><b>NB:</b> Only version 2 RSA keys are accepted.  Version 1 RSA
30 keys (i.e. identity.pub files) will not work.</p>
31
32 <p>
33 You can then use this key to authenticate to the machines. Using ssh-agent 
34 (automatically run by Debian's X configuration) you can use ssh-add to 'cache'
35 your passphrase once. 
36 </p>