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.384 docker/provisioners/init_image.sh
cryptum-0.0.383 docker/provisioners/init_image.sh
cryptum-0.0.382 docker/provisioners/init_image.sh
cryptum-0.0.381 docker/provisioners/init_image.sh
cryptum-0.0.380 docker/provisioners/init_image.sh
cryptum-0.0.379 docker/provisioners/init_image.sh
cryptum-0.0.378 docker/provisioners/init_image.sh
cryptum-0.0.377 docker/provisioners/init_image.sh
cryptum-0.0.376 docker/provisioners/init_image.sh
cryptum-0.0.375 docker/provisioners/init_image.sh
cryptum-0.0.374 docker/provisioners/init_image.sh
cryptum-0.0.373 docker/provisioners/init_image.sh
cryptum-0.0.372 docker/provisioners/init_image.sh
cryptum-0.0.370 docker/provisioners/init_image.sh
cryptum-0.0.369 docker/provisioners/init_image.sh
cryptum-0.0.368 docker/provisioners/init_image.sh
cryptum-0.0.367 docker/provisioners/init_image.sh
cryptum-0.0.366 docker/provisioners/init_image.sh
cryptum-0.0.365 docker/provisioners/init_image.sh
cryptum-0.0.364 docker/provisioners/init_image.sh