groupadd


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers groupadd
# 1  
Old 02-02-2011
groupadd

Hello everyone-I am a new Unix user, only in my second week of class, and i am having a real hard time getting the groupadd command to work. The command I am using is /usr/sbin/groupadd mygroup. When I try this to create a group called "mygroup" I get a "Permission Denied" message. Am i using the correct command, how do i find out what user does have the right permissions? Thanks for the help in advance.
# 2  
Old 02-02-2011
Are you root? Does a group named mygroup already exist?
# 3  
Old 02-02-2011
groupadd

Are you doing the command as root?
# 4  
Old 02-06-2011
You need to be the user "root" to run commands such as "groupadd".

The user "root" is the power user in unix/Linux who can change system settings - including the creation, change and deletion of users and groups.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. HP-UX

groupadd not unique

I want to add several users and several groups to a HPUX 11.31 box. When I type groupadd -g GID <name>, I'm told GID is not unique....even though it doesn't exist in the /etc/group file. I read in the man pages about NIS but I don't think we are using NIS....well we are using LDAP, but can... (1 Reply)
Discussion started by: jackiebaron
1 Replies

2. BSD

groupadd :: Command not found

Hi, everybody Instructions on installing mysql in freebsd insist on using #groupadd command. I tried it on freebsd-6.0. just to get this response "Command not found". Is there any way round? yours` sehrguey (9 Replies)
Discussion started by: serguey
9 Replies

3. Linux

groupadd: unable to lock group file

Hi guys, i encountered this error when i try to create a group. What is the problem here? I created a few groups weeks before this. I was recommended to reboot the machine, but i am not the owner of the machine, thus i would prefer to know the cause and any other solution other than rebooting the... (1 Reply)
Discussion started by: Daven81
1 Replies
Login or Register to Ask a Question