Mailinglist Archive: opensuse (4498 mails)
| < Previous | Next > |
Re: [opensuse] Handling Environment Variables
- From: Andreas Hanke <andreas.hanke@xxxxxxxxxxxxxx>
- Date: Sat, 11 Nov 2006 10:56:57 +0100
- Message-id: <45559E69.2090309@xxxxxxxxxxxxxx>
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.
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> 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.
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |