Sha256: dd542874fd8f8909e97236af8b41597cced0c8d2c4a9ad208111120f99df1803

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

#!/bin/sh

# This is mostly a test. May not work across different variant of linux

groupadd -f -g <%= user_group_id %>  <%= user_group_name %> && useradd -u <%= user_id %> -g <%= user_group_id %> -m <%= user_login %> && usermod -aG sudo <%= user_login %> && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

tail -f /dev/null
#while true; do sleep 1000; done
#exec /bin/bash

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
docker-cli-0.5.4 scripts/create_user.sh.erb
docker-cli-0.5.3 scripts/create_user.sh.erb
docker-cli-0.5.2 scripts/create_user.sh.erb
docker-cli-0.5.1 scripts/create_user.sh.erb
docker-cli-0.5.0 scripts/create_user.sh.erb