danielguerra69 / ubuntu-xrdp

Docker fully implemented Multi User xrdp with xorgxrdp and pulseaudio on Ubuntu 16.04/18.04
MIT License
251 stars 141 forks source link

Can't change password? #62

Open icsy7867 opened 2 years ago

icsy7867 commented 2 years ago

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 commented 2 years ago

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.