forked from axiom-team/astrXbian
Modifier pseudo?
This commit is contained in:
parent
6d87834569
commit
8f9ba28c9b
|
@ -44,9 +44,11 @@ echo "CREATING Gchange credentials"
|
||||||
salt="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
|
salt="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
|
||||||
[[ $salt == "" ]] && echo "ERROR" && exit 1
|
[[ $salt == "" ]] && echo "ERROR" && exit 1
|
||||||
pepper="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
|
pepper="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
|
||||||
|
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
|
||||||
|
|
||||||
[[ "$USER" != "xbian" ]] && echo "Choisir identifiant? $salt" && read salty && [[ $salty ]] && salt="$salty"
|
[[ "$USER" != "xbian" ]] && echo "Modifier pseudo? $XZUID" && read XZUIDy && [[ $XZUIDy ]] && XZUID="$XZUIDy"
|
||||||
[[ "$USER" != "xbian" ]] && echo "Choisir mot de passe? $pepper" && read peppery && [[ $peppery ]] && pepper="$peppery"
|
[[ "$USER" != "xbian" ]] && echo "Changer passphrase 1 (identifiant secret)? $salt" && read salty && [[ $salty ]] && salt="$salty"
|
||||||
|
[[ "$USER" != "xbian" ]] && echo "Changer passphrase 2 (mot de passe secret)? $pepper" && read peppery && [[ $peppery ]] && pepper="$peppery"
|
||||||
|
|
||||||
g1_salt="$salt"
|
g1_salt="$salt"
|
||||||
g1_pepper="$pepper"
|
g1_pepper="$pepper"
|
||||||
|
@ -111,8 +113,7 @@ mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB
|
||||||
########################################################################
|
########################################################################
|
||||||
# Give $XZUID to your (gchange friends)
|
# Give $XZUID to your (gchange friends)
|
||||||
########################################################################
|
########################################################################
|
||||||
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
|
echo "SETTING ASTRXBIAN PROFILE NAME = $XZUID"
|
||||||
echo "SETTING GCHANGE+ PROFILE NAME = $XZUID"
|
|
||||||
echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid
|
echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
Loading…
Reference in New Issue