Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Change password by directly writing to /etc/shadow #202

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

MoritzWeber0
Copy link
Member

The use of passwd is not possible in restricted environments. It produces Authentication token manipulation error.

In one of our environments, session creation stopped after an OpenShift cluster update to version 4.11.
Our suspect is the change of the Pod security admission. More information can be found in the release notes: https://docs.openshift.com/container-platform/4.11/release_notes/ocp-4-11-release-notes.html#ocp-4-11-auth-pod-security-admission

@MoritzWeber0 MoritzWeber0 force-pushed the strengthen-security-context branch 2 times, most recently from ee23172 to 731b67d Compare September 11, 2023 15:55
@MoritzWeber0 MoritzWeber0 force-pushed the strengthen-security-context branch 3 times, most recently from 17321d4 to a4a658f Compare September 19, 2023 08:58
The use of `passwd` is not possible in restricted environments.
It produces `Authentication token manipulation error`.

In one of our environments, session creation stopped after an
OpenShift cluster update to version 4.11.
Our suspect is the change of the Pod security admission.
More information can be found in the release notes:
https://docs.openshift.com/container-platform/4.11/release_notes/ocp-4-11-release-notes.html#ocp-4-11-auth-pod-security-admission
@MoritzWeber0 MoritzWeber0 force-pushed the strengthen-security-context branch 2 times, most recently from cd9df78 to 2ebcd85 Compare September 19, 2023 09:26
When RMT_PASSWORD wasn't set, openssl was waiting for the argument,
This could cause the Docker container to hang up.
@MoritzWeber0 MoritzWeber0 force-pushed the strengthen-security-context branch from 2ebcd85 to 843d6ac Compare September 19, 2023 09:36
@MoritzWeber0 MoritzWeber0 merged commit aa46088 into main Sep 19, 2023
@MoritzWeber0 MoritzWeber0 deleted the strengthen-security-context branch September 19, 2023 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants