groupadd -g 5000 vmail useradd -d /home/vmail -g 5000 -m -s /bin/bash -u 5000 -p somepassword vmail id vmail