2006. July 28. 17:03, Florent Rougon:
> LeVA <[EMAIL PROTECTED]> wrote:
> > And can you tell me why the $USER and the $LOGNAME variables gets
> > resetted by su, no matter if I've invoked it with or without the
> > '-' option?
>
> Which suite are you testing this on?
>
> Here, on sarge, using su with the "-" sets USER to root but doesn't
> modify LOGNAME.
>
I'm using testing with
ii  login  4.0.17-2  system login tools

I'd prefer to keep at least the LOGNAME variable the same as the logged 
in user after su-ing.

Daniel

-- 
LeVA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to