10 More Discussions You Might Find Interesting
1. Programming
Hi all ! :)
What I want?
1. All child process must be in the same group of process. Parent is a leader of the group.
How to do this? I would be greatfull of some example of code, I read about setsid but I can't even start...
My code so far:
#include <stdio.h>
#include <stdlib.h>... (2 Replies)
Discussion started by: mattdj
2 Replies
2. AIX
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
3. UNIX for Dummies Questions & Answers
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies
4. Solaris
I have installed Solaris 10 in VMware. Whenever I am trying to add new group using the command '/usr/sbin/groupadd/oinstall' while logged in as root , it is showing as '/usr/sbin/groupadd/oinstall can not execute'.
It will be great to hear any inputs/advice here. (4 Replies)
Discussion started by: sandip250382
4 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: pinga123
16 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: atanubanerji
5 Replies
7. Solaris
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)
Discussion started by: jpkumar10
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
please let me know the commands to create new group/delete existing group in unix and assigning users to newly created group.
Thank you in advance. (2 Replies)
Discussion started by: kancherla.sree
2 Replies
9. Shell Programming and Scripting
Hi,
I want to create group in unix. what is the command?
how to create a group and add a user into that group?
Thanks in advance (2 Replies)
Discussion started by: senthil_is
2 Replies
10. Linux
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
group(4) File Formats group(4)
NAME
group - group file
DESCRIPTION
The group file is a local source of group information. The group file can be used in conjunction with other group sources, including the
NIS maps group.byname and group.bygid, the NIS+ table group, or group information stored on an LDAP server. Programs use the getgrnam(3C)
routines to access this information.
The group file contains a one-line entry for each group recognized by the system, of the form:
groupname:password: gid:user-list
where
groupname The name of the group.
gid The group's unique numerical ID (GID) within the system.
user-list A comma-separated list of users allowed in the group.
The maximum value of the gid field is 2147483647. To maximize interoperability and compatibility, administrators are recommended to assign
groups using the range of GIDs below 60000 where possible.
If the password field is empty, no password is demanded. During user identification and authentication, the supplementary group access list
is initialized sequentially from information in this file. If a user is in more groups than the system is configured for, {NGROUPS_MAX}, a
warning will be given and subsequent group specifications will be ignored.
Malformed entries cause routines that read this file to halt, in which case group assignments specified further along are never made. To
prevent this from happening, use grpck(1B) to check the /etc/group database from time to time.
Previous releases used a group entry beginning with a `+' (plus sign) or `-' (minus sign) to selectively incorporate entries from a naming
service source (for example, an NIS map or data from an LDAP server) for group. If still required, this is supported by specifying
group:compat in nsswitch.conf(4). The compat source may not be supported in future releases. Possible sources are files followed by ldap or
nisplus. This has the effect of incorporating information from an LDAP server or the entire contents of the NIS+ group table after the
group file.
EXAMPLES
Example 1: Sample of a group File.
Here is a sample group file:
root::0:root
stooges:q.mJzTnu8icF.:10:larry,moe,curly
and the sample group entry from nsswitch.conf:
group: files ldap
With these entries, the group stooges will have members larry, moe, and curly, and all groups listed on the LDAP server are effectively
incorporated after the entry for stooges.
If the group file was:
root::0:root
stooges:q.mJzTnu8icF.:10:larry,moe,curly
+:
and the group entry from nsswitch.conf:
group: compat
all the groups listed in the NIS group.bygid and group.byname maps would be effectively incorporated after the entry for stooges.
SEE ALSO
groups(1), grpck(1B), newgrp(1), getgrnam(3C), initgroups(3C), nsswitch.conf(4), unistd.h(3HEAD)
System Administration Guide: Basic Administration
SunOS 5.10 22 Jul 2004 group(4)