Reputation: 81
I want to use docker without sudo and follow the guidance from this question. And here is what I did: 1.
sudo groupadd docker
and it showed
groupadd: group 'docker' already exists
2.
sudo gpasswd -a <username> docker
and it showed
Adding user <username> to group docker
3.
newgrp docker
and it showed the error:
newgrp: failed to crypt password with previous salt:invalid argument
I have tried to find more about this error,
newgrp: failed to crypt password with previous salt:invalid argument
but there is very limited information on the internet.
What leads to this error?
Upvotes: 6
Views: 9094
Reputation: 146
If someone has same error try:
This worked for me
Upvotes: 12