Hello,
I think you may just be using the command wrong.
syntax: /usr/sbin/groupadd [-g gid [-o]] group
So if you want to add a group named oinstall, you would do this.
This should work for you.
Hi,
I'm trying to create a new group on an AIX 5.2.0.0. server but am getting the following error:
root:/root $ mkgroup debt
3004-698 Error committing changes to "debt" : Value is invalid.
I've change the group name to no affect.
Does anyone have any ideas what could be causing this?
... (0 Replies)
Hello Sir,
I want to add some members into a group on NIS domain, but when I run "/usr/ccs/bin/make group" to update the group map it was failed :-(
the error message is :
problem storing develop... (4 Replies)
I have a file in the following format. Groups of data merge together and the group number is indicated above each group.
1
adrf
dfgr
dfg
2
dfgr
dfgr
3
dfef
dfr
fd
4
fgrt
fgr
fgg
5
fgrt
fgr (3 Replies)
Hi All
I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group.
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 ... (1 Reply)
Hi,
I am new to solaris administration. I have scan the new EMC SAN disk. I am able to see the disk when i run the powermt display dev=all command o/p. I want to format the disk and add file system to that disk.
Can have formated the disk. and this the o/p of my format
bash-3.00# prtvtoc... (3 Replies)
We want to deactivate a VG but failed, because one of the LVs created there is busy. When we are trying to unmount the LV, it is telling "not mounted" and if I execute mount command it will be informing us "already mounted". dmsetup info is indicating "Open Count = 1".
Please help me, how we... (5 Replies)
My volume group of size 200 gb.
out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each).
Whenever i use vgreduce command to reduce the size of volume group i get below error.
# vgreduce vg00 -a
Physical volume... (16 Replies)
HI
I am unable to add printer in solaris (architecture is SUN and OS is Solaris 10) as I try to print the file it gives following error
Failed to contact service for erp-cljCP2025: not-found
Need help
Regards (7 Replies)
Would some help me on this below
I am trying to extend file system on AIX and however unable to extend the file system.
0516-306 extendvg: Unable to find physical volume 20 in the Device
Configuration Database.
0516-321 extendvg: Physical volume u01-lv is not configured.
0516-792... (15 Replies)
Discussion started by: murali969
15 Replies
LEARN ABOUT OPENDARWIN
groupadd
groupadd(1M) System Administration Commands groupadd(1M)NAME
groupadd - add (create) a new group definition on the system
SYNOPSIS
/usr/sbin/groupadd [ -g gid [-o]] group
DESCRIPTION
The groupadd command creates a new group definition on the system by adding the appropriate entry to the /etc/group file.
OPTIONS
The following options are supported:
-g gid Assigns the group id gid for the new group. This group id must be a non-negative decimal integer below MAXUID as defined in
/usr/include/sys/param.h. The group ID defaults to the next available (unique) number above the highest number currently assigned.
For example, if groups 100, 105, and 200 are assigned as groups, the next default group number will be 201. (Group IDs from
0-99 are reserved by SunOS for future applications.)
-o Allows the gid to be duplicated (non-unique).
OPERANDS
The following operands are supported:
group A string consisting of characters from the set of lower case alphabetic characters and numeric characters. A warning message will
be written if the string exceeds MAXGLEN, which is usually set at eight characters. The group field must contain at least one
character; it accepts lower case or numeric characters or a combination of both, and must not contain a colon (:) or NEWLINE.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
2 Invalid command syntax. A usage message for the groupadd command is displayed.
3 An invalid argument was provided to an option.
4 The gid is not unique (when -o option is not used).
9 The group is not unique.
10 The /etc/group file cannot be updated.
FILES
/etc/group
/usr/include/userdefs.h
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO users(1B), groupdel(1M), groupmod(1M), grpck(1M), logins(1M), pwck(1M), useradd(1M), userdel(1M), usermod(1M), group(4), attributes(5)NOTES
groupadd only adds a group definition to the local system. If a network name service such as NIS or NIS+ is being used to supplement the
local /etc/group file with additional entries, groupadd cannot change information supplied by the network name service. However, groupadd
will verify the uniqueness of group name and group ID against the external name service.
SunOS 5.10 27 Mar 1998 groupadd(1M)