GROUP(5) Linux Programmer's Manual GROUP(5)NAME
group - user group file
DESCRIPTION
/etc/group is a text file which defines the groups on the system. There is one entry per line, with the following format:
group_name:password:GID:user_list
The field descriptions are:
group_name
the name of the group.
password
the (encrypted) group password. If this field is empty, no password is needed.
GID the numerical group ID.
user_list
a list of the usernames that are members of this group, separated by commas.
FILES
/etc/group
BUGS
As the 4.2BSD initgroups(3) man page says: No-one seems to keep /etc/group up-to-date.
SEE ALSO login(1), newgrp(1), getgrent(3), getgrnam(3), passwd(5)COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2009-10-17 GROUP(5)
Check Out this Related Man Page
GROUP(5) Linux Programmer's Manual GROUP(5)NAME
group - user group file
DESCRIPTION
/etc/group is a text file which defines the groups on the system. There is one entry per line, with the following format:
group_name:password:GID:user_list
The field descriptions are:
group_name
the name of the group.
password
the (encrypted) group password. If this field is empty, no password is needed.
GID the numerical group ID.
user_list
a list of the usernames that are members of this group, separated by commas.
FILES
/etc/group
BUGS
As the 4.2BSD initgroups(3) man page says: No-one seems to keep /etc/group up-to-date.
SEE ALSO login(1), newgrp(1), getgrent(3), getgrnam(3), passwd(5)COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2009-10-17 GROUP(5)
Hi all,
I am new to this group and only have some basic knowledge of Linux. Does anyoone in the group have experience with installing and setting up cygwin which is needed along with the secure shell for performing remote login operations.
My problem description is as follows:
Client... (2 Replies)
Hi All,
How can I obtain a GROUP BY functionality from a C program on a File....
suppose the file is like this...
Quantity Fruit
20 Mango
30 Mango
80 Banana
200 Apple
90 Banana
100 ... (2 Replies)
Hi All,
I really need a help on this thing. Most of us are aware about the group by function in Oracle. Do we have a substitute ( not necessarily a single line command) to it in Unix?
Let me put it this way.
I have a file whose content is like
file1-:
ID1,ID2,ID3,ID4,ID5
1,2,3,123,5... (3 Replies)
My current GID are all < 100, however I am having issues now with this. Does anyone know of a way to change all GID's to perhaps add 100, IE so GID now = 23 will = 123. I am running an NIS network so changing the table is easy , however finding all the files on all my filesystems and modifying... (4 Replies)
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Hi
I have a Fixed format data file where I need to to get the total of the field at certain position in a file for a group of lines.
In this data file I need the total of all the field ats position 30:39 for each line starting with 6 and for each group startign with 5. Which means for... (27 Replies)
Im trying to put all the groups in into a variable called $GROUP, however in /etc/group there are also lotsa users. And the GID of group can differ as it can be set, this there is no specific range, how can i put all the names of the groups into that variable? (3 Replies)
Gurus
I am trying to capture all the data in /etc/group file in a CSV ,thru a fingerprinting engine.
For hosts having ,unique group names and Ids ,following code works fine.
Trouble starts when on a host,there are multiple groups defined with same name and id.
e.g One of my hosts has 8... (10 Replies)
I'm involved in a project with multiple teams which are developing C code for a Linux machine and we would like to have our program pass data to one of the other group's programs. The immediate idea is to have shared memory between the programs which would simply consist of variables whose size and... (2 Replies)
Greetings All,
The following script attempts to enumerate all users in all groups in the group file(GROUP) and echo the following information:
GROUP ---> USER
The script is as follows:
IFS=","
for GROUP in `ypcat -k group | cut -d" " -f1`
do
for USER in `ypcat -k group... (13 Replies)
I have thousands of users assigned various roles. The role header defines the GID that they should have. If I can get all the GID information into /etc/group format I can upload the output file and easily assign all users into the desired GID. Right now I can get an output file like this:... (5 Replies)
Hi guys,
I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)