commands from RHC* book giving error
doing an exercise on Setgid bit, and the lab has me creating a group called sdatagrp and adding 2 users to it
#groupadd -g 9999 sdatagrp --this works
#usermod -G ahgori sdatagrp
usermod: user 'sdatagrp' does not exist
I understand that when you create a user, they get added to a group same as their name, but creating a user just to make a group seems silly.
anyone know why this isn't working?
Edit: forgot to mention im using CentOS
Last edited by iceman81; 09-14-2013 at 01:47 PM.