Re: Package organization issue...
Nicolás Lichtmaier writes:
> > Um, having packages modify /etc/profile is an extremely bad idea.
> > There's simply too many things that can go wrong. Even just
> > the security considerations (root uses /etc/profile too!) are
> > considerable. Besides, it doesn't help people not using a Bourne
> > shell derivative.
>
> Crazy? idea:
>
> Having a directory /etc/defaults where packages can put scripts to set
> environment variables... and /etc/profile would call run-parts on this
> directory (Of course it would need to be something like eval `run-parts
> ...`, and the scripts would print the commands).
What about /etc/profile.d/ which contains various scripts. If
whois != root then all of them are sourced.
Regards
Joey
--
/ Martin Schulze * joey@infodrom.north.de * 26129 Oldenburg /
/ http://home.pages.de/~joey/
/ Ich muede, also bin ich -- Andreas Porr /
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: