Like in the title, I want to add a user to already existing group.
In fact it´s seems that i already did this because i used a command "adduser --ingroup groupA user2” and when I look to the passwd i see that "user2(this is the user that i want to add)" is assignated to the groupA.
But the problem appear when i want to log in to the user2, because when I type the password, Linux don´t do nothing. I think that is some problem with permition, and i tried to change the owner of the document groupA(with chown) but it doesn´t gave me any any results, so here is my question:
Do i do something wrong or i need to use other command?
I hope i explained this well and i hope you can help me guys.
Sorry for my english.