Mailinglist Archive: opensuse (4498 mails)
| < Previous | Next > |
Re: [opensuse] Handling Environment Variables
- From: Anders Johansson <andjoh@xxxxxxxxxx>
- Date: Sun, 12 Nov 2006 15:34:12 +0100
- Message-id: <200611121534.12402.andjoh@xxxxxxxxxx>
On Sunday 12 November 2006 15:08, James Knott wrote:
> Andreas Hanke wrote:
> > John schrieb:
> >> In order to run this app and read its manual, I need to add the relevant
> >> directories to PATH and MANPATH respectively, but if I use the 'export'
> >> command, it only adds them or the current session.
> >>
> >> How can I add these two paths permanently for all users?
> >
> > Use /etc/profile.local.
> >
> > This file does not exist in a default installation. Just create it,
> > write your stuff into this file and it will be picked up for all
> > subsequent logins of all users.
>
> Assuming he's using bash, what's the difference between that and
> bash.bashrc.local?
Nothing, really. /etc/profile sources bash.bashrc when it runs, for bash
specific settings
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Andreas Hanke wrote:
> > John schrieb:
> >> In order to run this app and read its manual, I need to add the relevant
> >> directories to PATH and MANPATH respectively, but if I use the 'export'
> >> command, it only adds them or the current session.
> >>
> >> How can I add these two paths permanently for all users?
> >
> > Use /etc/profile.local.
> >
> > This file does not exist in a default installation. Just create it,
> > write your stuff into this file and it will be picked up for all
> > subsequent logins of all users.
>
> Assuming he's using bash, what's the difference between that and
> bash.bashrc.local?
Nothing, really. /etc/profile sources bash.bashrc when it runs, for bash
specific settings
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |