Add typical expiry time for guest access
[mirror/dsa-wiki.git] / input / howto / add-guest.creole
1 == Add a guest account to ud-ldap ==
2
3 === add to guest keyring ===
4
5 at home:
6
7 {{{
8         cd projects/debian/d-a/guest-keyring
9 }}}
10
11 or whereever you keep the checkout.  Then
12 {{{
13         git pull &&
14         echo -n "New user's key fingerprint: " &&
15         read fingerprint &&
16         ./add-key "`echo $fingerprint | tr -d ' '`" &&
17         git add debian-guest/add-"`echo $fingerprint | tr -d ' ' | cut -b 25-`" &&
18         git add debian-guest/index debian-guest/index.gpg &&
19         git ci &&
20         git push
21 }}}
22
23 === add to ldap ===
24
25 Once that is done, to to db-master (aka draghi) and add the account:
26
27 {{{
28         ud-useradd -g
29 }}}
30
31 * note the -g, this is for guest accounts (doesn't prompt for -private etc.)
32 * enter fingerprint, account name, [fml] name and forwarding address.
33 * enter expiry date and hosts to allow access to, per the request.
34   Two months is typical.