mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-21 08:25:00 -05:00
9 lines
245 B
Plaintext
Executable File
9 lines
245 B
Plaintext
Executable File
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:
|
|
ssh -t $M_ROOT@$M_HOST sudo ./enable-passwordless-sudo.remote $M_ROOT
|