fix instructions
authorLuca Filipozzi <lfilipoz@emyr.net>
Tue, 20 Aug 2013 19:28:57 +0000 (19:28 +0000)
committerLuca Filipozzi <lfilipoz@emyr.net>
Tue, 20 Aug 2013 19:28:57 +0000 (19:28 +0000)
input/howto/add-guest.creole

index 35ccb83..69edeb7 100644 (file)
@@ -2,21 +2,20 @@
 
 === add to guest keyring ===
 
-first, import the guest key into your keyring:
+Import the guest key into your keyring.
 {{{
        echo -n "New user's key fingerprint: " &&
        read fingerprint &&
-       ./add-key "`echo $fingerprint | tr -d ' '`" &&
+       gpg --import "`echo $fingerprint | tr -d ' ' | cut -b 25-`"
 }}}
 
-then, add the guest's public gpg key into the guest keyring by
+Change to the directory where you keep the guest-keyring repository:
 {{{
        cd ~/dsa/guest-keyring
 }}}
 
-or whereever you keep the checkout and executing:
+Export from your keyring into the guest-keyring using:
 {{{
-
        git pull &&
        echo -n "New user's key fingerprint: " &&
        read fingerprint &&
@@ -30,7 +29,6 @@ or whereever you keep the checkout and executing:
 === add to ldap ===
 
 Once that is done, to to db-master (aka draghi) and add the account:
-
 {{{
        ud-useradd -g
 }}}