[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: su & $PATH



On Sunday 26 of June 2005 12:29, Paolo Pantaleo wrote:
> I noticed that after issuing the
>     su
> command the $PATH variable has a different value. I think that this is
> quite nasty if i added my own paths to $PATH.
> Is this a bug, or not?
> How can I do to make $PATH remain the same? (set $PATH again in bashrc?)

man su !!!

look after -p/-m parameter.

regards,

-- 
Lech Karol Pawłaszek <ike>
"You will never see me fall from grace..." [KoRn]



Reply to: