Unable to set path in /etc/profile

Lee Braiden lee_b at digitalunleashed.com
Sun Jul 24 10:48:17 UTC 2005


On Sunday 24 July 2005 11:35, Magnus Therning wrote:
> On Sat, Jul 23, 2005 at 07:54:14PM +0100, Lee Braiden wrote:
> >I think you need to set the path in /etc/security/pam_env.conf
>
> Would it not be better to place that sort of thing in /etc/environment ?
>
> It just sounds wrong to mix in Java environment variables in something
> named pam_env.conf.

Quite possibly.  Whenever I've used Java (rarely), I set it in a wrapper 
script personally.  But I was only suggesting setting PATH in pam_env.conf, 
where there is already a commented example of setting PATH.  Any time I've 
tried to use /etc/environment, bad things have happened regarding pam and 
cron scripts etc., but I guess I should read more before messing with it :)

-- 
Lee Braiden
http://www.DigitalUnleashed.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050724/0c412b44/attachment.sig>


More information about the ubuntu-users mailing list