view workers/bin/setupTemplate.sh @ 15:68cca895e872

make a local bin directory for each worker
author Henry S. Thompson <ht@markup.co.uk>
date Thu, 18 Oct 2018 17:01:34 +0000
parents 580221a17890
children
line wrap: on
line source

#!/bin/bash
sudo adduser --disabled-password --GECOS "CC worker" cc
sudo su cc
cd ~cc
ssh-keygen -P "" -q -t rsa -f /home/cc/.ssh/id_rsa