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