[Linux-Discussion] Re: response

  • From: bobbya <bobbya@xxxxxxxxxxxx>
  • To: linux-discussion@xxxxxxxxxxxxx
  • Date: Sun, 29 Jul 2001 14:21:11 -0700

John,

Here it it is exactly. Please ignore the first email!!!!!!!!!!! The one just
before this one, mainly on the user name!!!!!! The real user name is "bobbya"
and NOT "myusername". Clear? O.K.? The main thing is the number 501   !!!

FROM THE "/etc/passwd" FILe
postgres:x:102:501:PostgreSQL Server:/var/lib/pgsql:/bin/bash
bobbya:x:501:501::/home/bobbya:/bin/bash


FROM THE "/etc/group" FILe
postgres:x:501:
bobbya::501:

Robert A.







John Madden wrote:

> > 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
> =============================================================

=============================================================
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: