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.466 docker/provisioners/init_image.sh
cryptum-0.0.465 docker/provisioners/init_image.sh
cryptum-0.0.464 docker/provisioners/init_image.sh
cryptum-0.0.463 docker/provisioners/init_image.sh
cryptum-0.0.462 docker/provisioners/init_image.sh
cryptum-0.0.461 docker/provisioners/init_image.sh
cryptum-0.0.460 docker/provisioners/init_image.sh
cryptum-0.0.459 docker/provisioners/init_image.sh
cryptum-0.0.458 docker/provisioners/init_image.sh
cryptum-0.0.457 docker/provisioners/init_image.sh
cryptum-0.0.456 docker/provisioners/init_image.sh
cryptum-0.0.455 docker/provisioners/init_image.sh
cryptum-0.0.454 docker/provisioners/init_image.sh
cryptum-0.0.453 docker/provisioners/init_image.sh
cryptum-0.0.452 docker/provisioners/init_image.sh
cryptum-0.0.451 docker/provisioners/init_image.sh
cryptum-0.0.450 docker/provisioners/init_image.sh
cryptum-0.0.449 docker/provisioners/init_image.sh
cryptum-0.0.448 docker/provisioners/init_image.sh
cryptum-0.0.447 docker/provisioners/init_image.sh