Gentoo Archives: gentoo-dev

From: Herbert Fischer <herbert.fischer@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] /etc/profile.d/
Date: Sat, 16 Jul 2005 18:10:53
Message-Id: 9f90e8bf0507161108656f8747@mail.gmail.com
In Reply to: Re: [gentoo-dev] /etc/profile.d/ by Herbert Fischer
1 I meant... Isn't this directory subject to developers installing
2 custom .bashrc or .bash_profile, or whatever automatically executed on
3 login?
4
5 On 7/16/05, Herbert Fischer <herbert.fischer@×××××.com> wrote:
6 > So... why /etc/.skel/ needs to be touched by Gentoo emerges? Isn't
7 > this directory subject to developers installing foo-bar.sh files?
8 >
9 > So, isn't this case the same with /etc/profile.d ??
10 >
11 > On 7/16/05, Marius Mauch <genone@g.o> wrote:
12 > > On Fri, 15 Jul 2005 21:34:09 -0400
13 > > Mike Frysinger <vapier@g.o> wrote:
14 > >
15 > > > we could care less what users do with /etc/profile.d ... the point is
16 > > > that *only* users should use /etc/profile.d ... we dont want random
17 > > > Gentoo developer Foo installing some Bar.sh into /etc/profile.d with
18 > > > package app-crap/FooBar
19 > >
20 > > Would the following in /et/profile be a solution to this problem?
21 > >
22 > > for x in $( < /etc/profile.d/.default); do
23 > > source "/etc/profile.d/${x}"
24 > > done
25 > >
26 > > That way devs could install stuff there, but it would only be run if
27 > > users added it to the .default file.
28 > >
29 > > Marius
30 > >
31 > > --
32 > > Public Key at http://www.genone.de/info/gpg-key.pub
33 > >
34 > > In the beginning, there was nothing. And God said, 'Let there be
35 > > Light.' And there was still nothing, but you could see a bit better.
36 > >
37 > >
38 > >
39 >
40
41 --
42 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] /etc/profile.d/ Herbert Fischer <herbert.fischer@×××××.com>
Re: [gentoo-dev] /etc/profile.d/ Mike Frysinger <vapier@g.o>