Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-22-2005, 04:04 AM   #1
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
/etc/group - the group users empty

I have several users who belong to the group users, everything works fine and as they should, group permissions work.. The thing is, I just noticed that /etc/group:s group users line hasnt got a single user in it.. What file determines the population of this group?
Old 02-22-2005, 04:22 AM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Check /etc/passwd

Each user's record in that file mentions a group id. That group is their default/initial/primary group. The user is immediately enrolled in that group when they login regardless of the contents in /etc/group.

Just to be thorough, the group id I'm referring to is the fourth field of each entry in /etc/passwd

Last edited by Dark_Helmet; 02-22-2005 at 04:24 AM.
Old 02-22-2005, 04:25 AM   #3
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Original Poster
Rep: Reputation: 31
ah, yes.. that explains.. many thanks.. (:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Users Group datadriven General 2 04-22-2004 01:08 PM
Start Here Group Now Empty SForsgren Linux - General 1 05-03-2003 02:38 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration