• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Gun Forums

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
 


N

Nbiser

Guest
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).
 
D

dirk.digalow

Guest
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


Top