fix instructions
[mirror/dsa-wiki.git] / input / howto / add-guest.creole
index 46999f7..69edeb7 100644 (file)
@@ -2,13 +2,19 @@
 
 === add to guest keyring ===
 
-at home:
+Import the guest key into your keyring.
+{{{
+       echo -n "New user's key fingerprint: " &&
+       read fingerprint &&
+       gpg --import "`echo $fingerprint | tr -d ' ' | cut -b 25-`"
+}}}
 
+Change to the directory where you keep the guest-keyring repository:
 {{{
-       cd projects/debian/d-a/guest-keyring
+       cd ~/dsa/guest-keyring
 }}}
 
-or whereever you keep the checkout.  Then
+Export from your keyring into the guest-keyring using:
 {{{
        git pull &&
        echo -n "New user's key fingerprint: " &&
@@ -16,14 +22,13 @@ or whereever you keep the checkout.  Then
        ./add-key "`echo $fingerprint | tr -d ' '`" &&
        git add debian-guest/add-"`echo $fingerprint | tr -d ' ' | cut -b 25-`" &&
        git add debian-guest/index debian-guest/index.gpg &&
-       git ci &&
+       git commit -a &&
        git push
 }}}
 
 === add to ldap ===
 
 Once that is done, to to db-master (aka draghi) and add the account:
-
 {{{
        ud-useradd -g
 }}}