Skip to content

accounts

Agnieszka Szmurło edited this page Sep 18, 2019 · 4 revisions

Create FreeIpa user

Creates home directory on HDFS. Password to be changed

ansible-playbook \
-i environments/dev/hosts \
-u ansible play-bdg-account.yml \
--ask-vault-pass \
--extra-vars "account=*** first_name=*** surname=*** account_state=present init_pass=***"

Generate VPN config

ssh aszmurlo@zsibio10

export OVPN_DATA="ovpn-data"
docker run -v $OVPN_DATA:/etc/openvpn --rm -it kylemanna/openvpn easyrsa build-client-full pkarbownik
## prosi o stworzenie hasla
## prosi o podanie hasla do klucza prywatnego
docker run -v $OVPN_DATA:/etc/openvpn --rm kylemanna/openvpn ovpn_getclient pkarbownik > pkarbownik.ovpn
Clone this wiki locally