public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] passwd and group files in new baselayout
@ 2002-02-08 20:05 Will Rogers
  2002-02-08 20:46 ` gentoo-user
  2002-02-17  4:32 ` Martin Schlemmer
  0 siblings, 2 replies; 3+ messages in thread
From: Will Rogers @ 2002-02-08 20:05 UTC (permalink / raw
  To: gentoo-dev

Hi all,

I didn't get any answer for this in the user list, so I'll try it here.
It's a little more dev-related anyway.

I just merged the new baselayout package, and I have one question:

The new /etc/passwd, /etc/group, and /etc/shadow files have some
different id numbers for different accounts, and one that I added myself
(postdrop) is now included, but with a different id than I used.  Should
I make an effort to change to these new ids, or it not matter?  That is,
do ebuilds assume certain a uid or gid when installing a package?

Thanks,

Will Rogers
wjr@wam.umd.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] passwd and group files in new baselayout
  2002-02-08 20:05 [gentoo-dev] passwd and group files in new baselayout Will Rogers
@ 2002-02-08 20:46 ` gentoo-user
  2002-02-17  4:32 ` Martin Schlemmer
  1 sibling, 0 replies; 3+ messages in thread
From: gentoo-user @ 2002-02-08 20:46 UTC (permalink / raw
  To: gentoo-dev

On Fri, 8 Feb 2002, Will Rogers wrote:

> Hi all,
>
> I didn't get any answer for this in the user list, so I'll try it here.
> It's a little more dev-related anyway.
>
> I just merged the new baselayout package, and I have one question:
>
> The new /etc/passwd, /etc/group, and /etc/shadow files have some
> different id numbers for different accounts, and one that I added myself
> (postdrop) is now included, but with a different id than I used.  Should
> I make an effort to change to these new ids, or it not matter?  That is,
> do ebuilds assume certain a uid or gid when installing a package?
>

To my knowledge (I'm not a gentoo developer), the packages depend on names
only. One can never know for most id's what number they have. Your
filesystem does depend on numbers though. This means it is probably the
best solution give your postdrop the same uid it had before things got
changed. If you fear problems with what's installed now, you can also run
a chown on all files that should belong to postdrop.

Good luck,

ps. Root and nobody/nogroup should keep their id's (0 and 99). Those are
standard

-- 
  ___
 /~~~\  | Paul de Vrieze
| O-O | | Student of information management and technology
|  _  | | Mail: Paul@devrieze.net
 \___/  | Homepage: http://www.devrieze.net



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] passwd and group files in new baselayout
  2002-02-08 20:05 [gentoo-dev] passwd and group files in new baselayout Will Rogers
  2002-02-08 20:46 ` gentoo-user
@ 2002-02-17  4:32 ` Martin Schlemmer
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Schlemmer @ 2002-02-17  4:32 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

On Fri, 2002-02-08 at 22:05, Will Rogers wrote:
> Hi all,
> 
> I didn't get any answer for this in the user list, so I'll try it here.
> It's a little more dev-related anyway.
> 
> I just merged the new baselayout package, and I have one question:
> 
> The new /etc/passwd, /etc/group, and /etc/shadow files have some
> different id numbers for different accounts, and one that I added myself
> (postdrop) is now included, but with a different id than I used.  Should
> I make an effort to change to these new ids, or it not matter?  That is,
> do ebuilds assume certain a uid or gid when installing a package?
> 

Depends, but for postdrop, any id should work.  I still have
the passwd and group from many versions back, as we only
update those to make life of new users, or setting a new
box up easier.

> Thanks,
> 
> Will Rogers
> wjr@wam.umd.edu
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-17  4:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-08 20:05 [gentoo-dev] passwd and group files in new baselayout Will Rogers
2002-02-08 20:46 ` gentoo-user
2002-02-17  4:32 ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox