[Linux-Discussion] Re: response

  • From: John Madden <weez@xxxxxxxxxxxxx>
  • To: linux-discussion@xxxxxxxxxxxxx
  • Date: Sun, 29 Jul 2001 15:08:57 -0500

> Yes, but how about have 2 accounts with 2 different names with the same
> gid?
>
> I mean, group name of postgres = gid of 501 and group name of master =
> gid of 501? This in the /etc/group file?

Ok, let's get a couple terms straight first here:  

"account"  =  system user account.  always has a uid and at least one gid. 
 In /etc/passwd, only the primary gid of each user is shown.  
"gid"  =  group id.  Numerical.  each one is unique.  

So you had user postgres's gid set to 501, and in etc/group, you see a 
line that looks something like: "postgres:x:501:"?  There's nothing wrong 
with that.  And as for 2 accounts with 2 different names having the same 
gid, that's fine-- it means you've got two users in the same group -- 
happens all the time.

John



-- 
# John Madden  weez@xxxxxxxxxxxxx ICQ: 2EB9EA
# FreeLists, Free mailing lists for all: //www.freelists.org
# UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us
# Linux, Apache, Perl and C: All the best things in life are free!
=============================================================
Avenir Web's Linux Discussion List

List info: //www.freelists.org/cgi-bin/webpage?webpage_id=13
To unsubscribe: email linux-discussion-request@xxxxxxxxxxxxx
with 'unsubscribe' in the Subject line.

Administrative contact: weez@xxxxxxxxxxxxx
=============================================================

Other related posts: