i'm stuck with usermod and groupmod. if you have a user set up and want to change the group that they belong to?
First you would create the group. That has been done checked /etc/group file and the group is there. "All from root". Let's say the user is david and his current group is david. I create a group called mangers. To change david to the group mangers would it be usermod -G david,mangers does not seem to work or groupmod -g david,mangers also does not seem to work. I'm lost as to how to do this