#!/usr/bin/env bash MY_SHELL=$( which bash ) /usr/sbin/useradd -c 'Rory Davidson ' -s ${MY_SHELL} -m rda cat >/etc/sudoers.d/rda-ALL <~rda/.ssh/authorized_keys chmod 400 ~rda/.ssh/authorized_keys chown -R rda ~rda/.ssh