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

Can't change password? #62

Open
icsy7867 opened this issue Oct 4, 2021 · 1 comment
Open

Can't change password? #62

icsy7867 opened this issue Oct 4, 2021 · 1 comment

Comments

@icsy7867
Copy link

icsy7867 commented Oct 4, 2021

Just deploy a fresh and latest 20.04 (really neat btw!)

However when I run passwd to change the default Ubuntu password, I get a:

Authentication token manipulation error

Just curious if there is something that comes to mind.

@sbaumgartner75
Copy link
Contributor

Have you, by chance tried to bindmount /etc/passwd, /etc/shadow and their group equivalents? This fails because passwd creates a copy of the files that are edited and then writes them back and thus the files that are manipulated are not the ones residing outside the docker container.

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

No branches or pull requests

2 participants