Welcome new Debian members
[mirror/dsa-wiki.git] / input / howto / add-account.creole
1 == how to add an account to ud-ldap ==
2
3 === Introduction ===
4
5 A Debian Account Manager (DAM) will submit an RT ticket to ask that an account
6 be created for a new member of the Debian Project.
7
8 Initially, the RT ticket will be assigned to a Debian Keyring Maintainer (DKM)
9 so that Debian's Keyring may be updated with the user's GPG key.
10
11 Subsequently, the RT ticket will be assigned to a Debian System Administrator
12 (DSA) so that Debian's LDAP may be updated.
13
14 This HOWTO documents DSA's actions relating to such tickets.
15
16 The RT ticket will contain the following details in a GPG-signed message:
17 * the user's account type ("uploading DD")
18 * the user's GPG key fingerprint
19 * the user's full name (first name, middle name, last name)
20 * the user's forwarding address
21 * the user's preferred account name
22
23 === Procedure for New Accounts ===
24
25 Step 1: Download the GPG-signed message from RT and verify the signature.
26 Ensure that the message has been signed by a DAM (for a list of DAMs, see
27 http://wiki.debian.org/DAManager or http://www.debian.org/intro/organization).
28
29 Step 2: Create an entry in LDAP by executing ud-useradd on draghi.
30
31 {{{
32         you@home~$ ssh db.debian.org
33         you@draghi~$ ud-useradd
34 }}}
35
36 You will be prompted to enter the fingerprint; the preferred account name; the
37 first, middle and last names; and the forwarding address.  Some of these values
38 will be extracted from the GPG key, if available.
39
40 Use the @debian.org for the debian-private subscription.
41
42 Accept the randomly generated password.
43
44 Step 3: Confirm account creation.
45
46 Step 4: Resolve the RT ticket.  Enter the 'final information collected' emitted
47 by ud-adduser as the message of the resolution action.  Carbon copy the
48 forwarding address and da-manager@debian.org.
49
50 Step 5: Add a welcome message for the account name to the #debian-devel topic on IRC.
51
52 === Procedure for Upgrading Guest Accounts ===
53
54 Step 1: same as above
55
56 Step 2: Remove the GPG key from guest-keyring.
57
58 {{{
59         you@home~$ sudo apt-get install jetring
60         you@home~$ git clone ssh://db.debian.org/git/guest-keyring.git
61         you@home~$ cd guest-keyring
62         you@home~$ ./del-key <fingerprint>
63         you@home~$ git status
64         you@home~$ git add debian-guest/delete-<fingerprint substring>
65         you@home~$ git commit -a
66 }}}
67
68 Step 3: Modify the LDAP entry.
69
70 {{{
71         you@draghi~$ export EDITOR=vim
72         you@draghi~$ ldapvi -ZZ -D uid=<you>,ou=users,ou=debian,ou=org
73                 find account
74                 set gidNumber: 800
75                 add privateSub: <account>@debian.org
76                 del allowedHost
77                 del shadowExpire
78 }}}
79
80 Step 4: Email welcome-message-800 to the user, substituting parameters.
81
82 Step 5: Resolve the RT ticket.  Carbon copy the forwarding address and
83 da-manager@debian.org.
84