Adding mygroup

A

abnormal11

Guest
Hello,
I am new to linux and am taking a class, but I am to add mygroup in red hat and every time i use sudo/usr/sbin/groupadd mygroup I am denied. Have waited on instructor for 2 days any help would be appreciated.

Thanks
abnormal
 


In order to add a new group in Linux, you need to type the following as root
Code:
addgroup mygroup
this should add a new group, be sure to note the group id (GID).
 
Your class is probably over. But there should be a space between sudo and /usr/sbin/groupadd. If you are the root user, then you don't need to use sudo. If you are doing this as a user, the user needs to have sudo access in the sudoers files.
 

Members online


Latest posts

Top