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
GROUPMOD(8) BSD System Manager's Manual GROUPMOD(8)NAME
groupmod -- modify an existing group on the system
SYNOPSIS
groupmod [-ov] [-g gid] [-n newname] group
DESCRIPTION
The groupmod utility modifies an existing group on the system. See group(8) for more information about EXTENSIONS. The options are as fol-
lows:
-g gid Give the numeric group identifier to be used for the new group.
-n new-group-name
Give the new name which the group shall have.
-o Allow the new group to have a gid which is already in use for another group.
-v Enable verbose mode - explain the commands as they are executed. This option is included if built with EXTENSIONS.
EXIT STATUS
The groupmod utility exits 0 on success, and >0 if an error occurs.
SEE ALSO group(5), group(8), user(8)HISTORY
The groupmod utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author.
AUTHORS
The groupmod utility was written by Alistair G. Crooks <agc@NetBSD.org>.
BSD November 7, 2005 BSD
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)