From: Peter Palfrader Date: Sun, 25 Oct 2009 15:51:22 +0000 (+0100) Subject: indentation X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=fc124ff8d7a558192f10a7d14b0def4e599deebf;p=mirror%2Fdsa-wiki.git indentation --- diff --git a/input/howto/add-guest.creole b/input/howto/add-guest.creole index 24d4731..9783a7f 100644 --- a/input/howto/add-guest.creole +++ b/input/howto/add-guest.creole @@ -5,19 +5,19 @@ at home: {{{ -cd projects/debian/d-a/guest-keyring + cd projects/debian/d-a/guest-keyring }}} or whereever you keep the checkout. Then {{{ -git pull && -echo -n "New user's key fingerprint: " && -read fingerprint && -./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 push + git pull && + echo -n "New user's key fingerprint: " && + read fingerprint && + ./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 push }}} === add to ldap === @@ -25,7 +25,7 @@ git push Once that is done, to to db-master (aka draghi) and add the account: {{{ -ud-useradd -n + ud-useradd -n }}} * enter fingerprint, account name, [fml] name and forwarding address. @@ -35,9 +35,9 @@ ud-useradd -n Then set an expire date for the user: {{{ -echo -n "userid of new user: " && -read uid && -ldapvi --encoding=ASCII -ZZ --ldap-conf -h db.debian.org -D uid=$USER,ou=users,dc=debian,dc=org "uid=$uid" + echo -n "userid of new user: " && + read uid && + ldapvi --encoding=ASCII -ZZ --ldap-conf -h db.debian.org -D uid=$USER,ou=users,dc=debian,dc=org "uid=$uid" }}} and set {{{shadowExpire}}} to today + 60 days ( {{{echo $(( `date +%s` / 3600 / 24 + 60 ))}}} ).