Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

groupadd(8) [netbsd man page]

GROUPADD(8)						    BSD System Manager's Manual 					       GROUPADD(8)

NAME
groupadd -- add a group to the system SYNOPSIS
groupadd [-ov] [-g gid] [-r lowgid..highgid] group DESCRIPTION
The groupadd utility adds a group to the system. See group(8) for more information about EXTENSIONS. The options are as follows: -g gid Give the numeric group identifier to be used for the new group. -o Allow the new group to have a gid which is already in use for another group. -r lowgid..highgid Set the low and high bounds of a gid range for new groups. A new group can only be created if there are gids which can be assigned inside the range. This option is included if built with EXTENSIONS. -v Enable verbose mode - explain the commands as they are executed. This option is included if built with EXTENSIONS. EXIT STATUS
The groupadd utility exits 0 on success, and >0 if an error occurs. SEE ALSO
group(5), group(8), user(8) HISTORY
The groupadd utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author. AUTHORS
The groupadd utility was written by Alistair G. Crooks <agc@NetBSD.org>. BSD
November 7, 2005 BSD

Check Out this Related Man Page

GROUP(8)						    BSD System Manager's Manual 						  GROUP(8)

NAME
group -- manage group information on the system SYNOPSIS
group add [options] group group del [options] group group info [options] group group mod [options] group DESCRIPTION
The group utility acts as a frontend to the groupadd(8), groupmod(8), groupinfo(8), and groupdel(8) commands. The utilities by default are built with EXTENSIONS. This allows for further functionality. For a full explanation of the options available, please see the relevant manual page. EXIT STATUS
The group utility exits 0 on success, and >0 if an error occurs. SEE ALSO
group(5), groupadd(8), groupdel(8), groupinfo(8), groupmod(8) HISTORY
The group utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author. AUTHORS
The group utility was written by Alistair G. Crooks <agc@NetBSD.org>. BSD
November 7, 2005 BSD
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

group limit

hi, i have in my /etc/group an unix group full. i need to add new user in this group. users need to have the same gid and the same name... is it possible ? can i create a concatenation with an other group or something else ? thx (1 Reply)
Discussion started by: farzolito
1 Replies

2. UNIX for Dummies Questions & Answers

unable to login HELP!!!

Hi, I have installed for the first time sun solaris on my pc and I am trying to learn unix. I created a new user using the following steps: -create a new group : groupadd work -created a new user: useradd -g work -d /export/home -s /usr/bin/ksh gbruno (i checked the path of the shell... (3 Replies)
Discussion started by: giulianob
3 Replies

3. AIX

Re: User assigned to privileged group

Hi! I need to know what is the risk involved if a user with UID >100 is attached to a group with gid =1 .i.e., a user is attached to a priviliged group in AIX . Kindly let me know what security implication can arise in this case? Early reply in this regard will be highly appreciated. (1 Reply)
Discussion started by: faraz82
1 Replies

4. 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

5. AIX

Web-based System Manager (WSM)

Hello everyone, Would any of you know what group I need to be a member of to be able to change system settings via WSM? I have tried adding myself to couple of groups (adm, sucurity, system) but so far no good. I am able to see what settings are applied, but cannot change them. Thanks in... (3 Replies)
Discussion started by: juniorG
3 Replies

6. UNIX for Dummies Questions & Answers

File creation and auto-group assign

How do I make a file automatically get assigned a group that the user that created it is in? (1 Reply)
Discussion started by: dhinge
1 Replies

7. 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

8. Solaris

user administration

hi ' i am creating a primary group and a secondary group for a user. #groupadd -g 101 test #groupadd -g 102 test1 #useradd -d /export/home/user1 -m -s /bin/ksh -g test -G test user1 in /etc/passwd i can find the username as user1 and group name as test and where can i find the... (4 Replies)
Discussion started by: madhudeepan
4 Replies

9. Shell Programming and Scripting

How to group the output w/ limit

Hi All, Second time to post on this group :) I'm pulling my hair now 'coz I'm so dumb to produce this requirement. Requirement: I want to run a utility by limiting the no. inside my process (mov##) to be able to use in multi streaming. Here is my script: --Input: "user_list.txt"... (0 Replies)
Discussion started by: alvingo
0 Replies

10. UNIX for Dummies Questions & Answers

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... (3 Replies)
Discussion started by: mfruiz34
3 Replies

11. UNIX for Dummies Questions & Answers

group list

What is the Solaris Unix Command to list the groups? Can I run it from my home directory or do I run it from somewhere else? (1 Reply)
Discussion started by: VKmetz
1 Replies

12. UNIX for Advanced & Expert Users

RHEL 5.11 - gid issue

Hello folks, I am facing a weird issue on one of the red hat linux 5 box. There is an oracle id which i want to change the primary group. Currently the primary group id is 16600, I did changed it to 16601 using below command: usermod -g 16601 oracle But it did not changed. I have tried... (3 Replies)
Discussion started by: snchaudhari2
3 Replies