Monkeysphere removal
This commit is contained in:
parent
8b13d28361
commit
bd7903b4fb
|
@ -163,13 +163,13 @@ fi
|
||||||
#echo $'Adding monkeysphere subkey to ssh-agent'
|
#echo $'Adding monkeysphere subkey to ssh-agent'
|
||||||
#su -c "monkeysphere s" - $ADD_USERNAME
|
#su -c "monkeysphere s" - $ADD_USERNAME
|
||||||
# add authorized GPG email address
|
# add authorized GPG email address
|
||||||
mkdir /home/$ADD_USERNAME/.monkeysphere
|
#mkdir /home/$ADD_USERNAME/.monkeysphere
|
||||||
chmod 755 /home/$ADD_USERNAME/.monkeysphere
|
#chmod 755 /home/$ADD_USERNAME/.monkeysphere
|
||||||
echo "$ADD_USERNAME <$ADD_USERNAME@$HOSTNAME>" > /home/$ADD_USERNAME/.monkeysphere/authorized_user_ids
|
#echo "$ADD_USERNAME <$ADD_USERNAME@$HOSTNAME>" > /home/$ADD_USERNAME/.monkeysphere/authorized_user_ids
|
||||||
chmod 644 /home/$ADD_USERNAME/.monkeysphere/authorized_user_ids
|
#chmod 644 /home/$ADD_USERNAME/.monkeysphere/authorized_user_ids
|
||||||
chown -R $ADD_USERNAME:$ADD_USERNAME /home/$ADD_USERNAME/.monkeysphere
|
#chown -R $ADD_USERNAME:$ADD_USERNAME /home/$ADD_USERNAME/.monkeysphere
|
||||||
echo $'Updating monkeysphere users'
|
#echo $'Updating monkeysphere users'
|
||||||
monkeysphere-authentication update-users
|
#monkeysphere-authentication update-users
|
||||||
|
|
||||||
if [ -f /home/$ADD_USERNAME/.muttrc ]; then
|
if [ -f /home/$ADD_USERNAME/.muttrc ]; then
|
||||||
# encrypt outgoing mail to the "sent" folder
|
# encrypt outgoing mail to the "sent" folder
|
||||||
|
|
Loading…
Reference in New Issue