Sha256: 309966fb6b0ba6479e2304c96eec942d8c55a14495bc87518741584d2d968162

Contents?: true

Size: 662 Bytes

Versions: 224

Compression:

Stored size: 662 Bytes

Contents

#!/bin/bash --login
source /etc/profile.d/globals.sh

cryptum_env_file='/etc/profile.d/cryptum_envs.sh'

$screen_cmd "chmod 755 ${cryptum_env_file} ${assess_update_errors}"
grok_error

$screen_cmd "${apt} install -y curl gnupg2 openssh-server net-tools"
grok_error

$screen_cmd "service ssh start"
grok_error

$screen_cmd "${apt} dist-upgrade -y ${assess_update_errors}"
grok_error

$screen_cmd "${apt} full-upgrade -y ${assess_update_errors}"
grok_error

$screen_cmd "useradd -m -s /bin/bash admin ${assess_update_errors}"
grok_error

$screen_cmd "usermod -aG sudo admin ${assess_update_errors}"
grok_error

# Restrict Home Directory
sudo chmod 700 /home/admin

Version data entries

224 entries across 224 versions & 1 rubygems

Version Path
cryptum-0.0.406 docker/provisioners/init_image.sh
cryptum-0.0.405 docker/provisioners/init_image.sh
cryptum-0.0.404 docker/provisioners/init_image.sh
cryptum-0.0.403 docker/provisioners/init_image.sh
cryptum-0.0.402 docker/provisioners/init_image.sh
cryptum-0.0.401 docker/provisioners/init_image.sh
cryptum-0.0.400 docker/provisioners/init_image.sh
cryptum-0.0.399 docker/provisioners/init_image.sh
cryptum-0.0.398 docker/provisioners/init_image.sh
cryptum-0.0.397 docker/provisioners/init_image.sh
cryptum-0.0.396 docker/provisioners/init_image.sh
cryptum-0.0.395 docker/provisioners/init_image.sh
cryptum-0.0.394 docker/provisioners/init_image.sh
cryptum-0.0.393 docker/provisioners/init_image.sh
cryptum-0.0.392 docker/provisioners/init_image.sh
cryptum-0.0.389 docker/provisioners/init_image.sh
cryptum-0.0.388 docker/provisioners/init_image.sh
cryptum-0.0.387 docker/provisioners/init_image.sh
cryptum-0.0.386 docker/provisioners/init_image.sh
cryptum-0.0.385 docker/provisioners/init_image.sh