Skip to content

Make PAM user creation script copy/pasteable#25803

Merged
ptgott merged 1 commit intomasterfrom
paul.gottschling/18343-shebang
May 15, 2023
Merged

Make PAM user creation script copy/pasteable#25803
ptgott merged 1 commit intomasterfrom
paul.gottschling/18343-shebang

Conversation

@ptgott
Copy link
Copy Markdown
Contributor

@ptgott ptgott commented May 8, 2023

Closes #18343

The user creation script in our SSH PAM guide is inside a heredoc within a code snippet. The shebang within the script does not render within the code snippet, since the snippet component treats the hash as a comment.

This change turns the script into a code snippet with a text label to prevent rendering issues and separates commands that are intended to be run outside the script into their own code snippets.

Closes #18343

The user creation script in our SSH PAM guide is inside a heredoc within
a `code` snippet. The shebang within the script does not render within
the `code` snippet, since the snippet component treats the hash as a
comment.

This change turns the script into a code snippet with a `text` label to
prevent rendering issues and separates commands that are intended to be
run outside the script into their own code snippets.
@ptgott ptgott force-pushed the paul.gottschling/18343-shebang branch from cc2dc22 to ad580d2 Compare May 11, 2023 15:00
@ptgott ptgott enabled auto-merge May 15, 2023 18:08
@ptgott ptgott added this pull request to the merge queue May 15, 2023
Merged via the queue into master with commit f913819 May 15, 2023
@ptgott ptgott deleted the paul.gottschling/18343-shebang branch May 15, 2023 18:29
@public-teleport-github-review-bot
Copy link
Copy Markdown

@ptgott See the table below for backport results.

Branch Result
branch/v11 Create PR
branch/v12 Create PR
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: shebang does not render in code blocks

3 participants