From 6c22f5fdfad8752006c2245b503313973766c31c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 20 Apr 2022 15:41:54 +0200 Subject: Add scripts to manage passwords --- deploy_passwords | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 deploy_passwords (limited to 'deploy_passwords') diff --git a/deploy_passwords b/deploy_passwords new file mode 100755 index 0000000..37c2143 --- /dev/null +++ b/deploy_passwords @@ -0,0 +1,5 @@ +#!/usr/bin/env ./sshtool + +write_pass deuxfleurs/cluster/$CLUSTER/passwords /root/deploy_tmp_passwords +cmd 'chpasswd -e < /root/deploy_tmp_passwords' +cmd rm /root/deploy_tmp_passwords -- cgit v1.2.3