Re: Problem with env variables

2008-01-07 Thread Alberto Hernando
El Lunes, 7 de Enero de 2008 15:02, Nicolas FRANCOIS escribió: > The problem is, this "su -" don't pass env variables set by the normal > user. Hi. If I'm not wrong, the "-" in "su -" mean to start a completely new session, like a new login. What you need is just "su". It changes the user but ke

Re: Problem with env variables

2008-01-07 Thread Nicolas FRANCOIS
Le Mon, 7 Jan 2008 16:25:00 +0100 Andreas Leuner <[EMAIL PROTECTED]> a écrit : > > What can I do to solve this ? It's quite annoying :-( > Use 'sux'. That's a shell script acting as a wrapper around su. > Homepage: http://sourceforge.net/projects/sux/ Thanks Andreas. I'll try it ASAP. -- Nico

Re: Problem with env variables

2008-01-07 Thread Andreas Leuner
Am Montag 07 Januar 2008 15:02:34 schrieb Nicolas FRANCOIS: > Hi. Hello, > > I'm having some difficulties with env variables. I got the /etc/profile > and all stuff OK. I noticed a while ago that if I wanted a su session to > read those files, I had to do a "su -". So far, so good. > > The problem

Problem with env variables

2008-01-07 Thread Nicolas FRANCOIS
Hi. I'm having some difficulties with env variables. I got the /etc/profile and all stuff OK. I noticed a while ago that if I wanted a su session to read those files, I had to do a "su -". So far, so good. The problem is, this "su -" don't pass env variables set by the normal user. I think in par