1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello. You need to create a custom component that runs during the build phase of your image pipeline. Like so:
name: CreateOrgUser
description: "Create a new organization-specific user"
schemaVersion: 1.0
phases:
- name: build
steps:
- name: CreateUser
action: ExecuteBash
inputs:
commands:
- "sudo adduser --disabled-password --gecos '' orguser"
- "sudo usermod -aG sudo orguser"
- "echo 'orguser ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/orguser"
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans