This is a nice way to add a user to a new group,
from any script or other non-interactive metod:
usermod -G $(id -nG root | sed -e “s/ /,/g”),vmail root
This is a nice way to add a user to a new group,
from any script or other non-interactive metod:
usermod -G $(id -nG root | sed -e “s/ /,/g”),vmail root