Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Race condition in SSH setup and user creation #67

@vholer

Description

@vholer

Current execution order

  • 12-ssh_public_key
  • 13-selinux-ssh
    ...
  • 20-set-username-password

configures SSH access by 12-ssh_public_key for the $USERNAME before the user is actually created by 20-set-username-password. If the $USERNAME doesn't exist for SSH, script fallbacks to root. In subsequent runs, the desired $USERNAME is configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions