mailiverse/install/enable-passwordless-sudo

9 lines
245 B
Plaintext
Raw Normal View History

2013-10-04 22:37:51 -04:00
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
set -x
M_ROOT=`cat requirements/server_root_account`
M_HOST=$1
scp enable-passwordless-sudo.remote $M_ROOT@$M_HOST:
2013-10-04 22:58:21 -04:00
ssh -t $M_ROOT@$M_HOST sudo ./enable-passwordless-sudo.remote $M_ROOT