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

What is the default password expiration time of a user in Windows Container? #432

Closed
alex031029 opened this issue Oct 13, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@alex031029
Copy link

alex031029 commented Oct 13, 2023

When I was troubleshooting a hung process problem in container, I found that I could not access the container (running for 6 weeks) as the password of the account expired.
image

As I also found a container running for 3 weeks, I can access it.

I checked the user running the container, which is tempUserInConatiner (Sorry for the typo :) ). This user was added via dockerFile as shown below.

RUN NET USER /add tempUserInConatiner
USER tempUserInConatiner

As I didn't specify the password, and neither did I set a expiration. So I am wondering what would be the default expiration time (some value from 3 to 6 weeks?) of an account in Windows Container? May I extend it to a longer one or even infinite? Thanks.

@alex031029 alex031029 added the question Further information is requested label Oct 13, 2023
@ntrappe-msft ntrappe-msft added the triage New and needs attention label Oct 13, 2023
@ntrappe-msft ntrappe-msft removed the triage New and needs attention label Oct 26, 2023
Copy link
Contributor

This issue has been open for 30 days with no updates.
@fady-azmy-msft, please provide an update or close this issue.

@alex031029
Copy link
Author

I now know the answer, 42 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants