On Wed, Sep 03, 2008 at 01:49:02AM -0700, Steve Langasek wrote: > On Mon, Sep 01, 2008 at 09:43:19PM +0200, Loïc Minier wrote: > > Is there any shell which doesn't honor the PATH in /etc/environment? > > If yes, I think it's a bug; if not, we can build on the PATH set in > > this file IMO. > > /etc/environment is not a matter for the shells, but for whatever starts the > user session (e.g., sshd, gdm...). It would not be honored by shells (or > other processes) started from daemons not associated with a PAM login > session.
What about the case of setting path for ruby gems running in CGI environments? A /usr/local symlink works for that, but /etc/environment doesn't. -- Kees Cook Ubuntu Security Team -- Ubuntu-motu mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu
