diff --git a/src/freedombone-adduser b/src/freedombone-adduser index 5b60feb88883aa30e3c66f4ebdac482b804672ac..1f40a959bd4608e093621d1e81a5330804d06d49 100755 --- a/src/freedombone-adduser +++ b/src/freedombone-adduser @@ -210,24 +210,7 @@ if [ -f "/home/$ADD_USERNAME/.muttrc" ]; then fi fi -if ! grep -q "Change your GPG password" "/home/$ADD_USERNAME/README"; then - { echo ''; - echo ''; - echo $'# Change your GPG password'; - echo $"It's very important to add a password to your GPG key so that"; - echo $"if anyone does get access to your email they still won't be able"; - echo $'to read them without knowning the GPG password.'; - echo $'You can change the it with:'; - echo ''; - echo " gpg --edit-key $MY_GPG_PUBLIC_KEY_ID"; - echo ' passwd'; - echo ' save'; - echo ' quit'; } >> "/home/$ADD_USERNAME/README" -fi - -chown "$ADD_USERNAME":"$ADD_USERNAME" "/home/$ADD_USERNAME/README" chown "$ADD_USERNAME":"$ADD_USERNAME" "$MY_GPG_PUBLIC_KEY" -chmod 600 "/home/$ADD_USERNAME/README" echo $'Detecting installed apps...' detect_apps