Re: su to root won't use the $LANG.. why?
On Thu, Jan 04, 2001 at 04:26:53PM +0100, Kent Nyberg wrote:
> When i su to root, then root wont use the LANG variable.
> Well.. the LANG isn't passed on from the normal user..
> How could i make it so that su will use that..
>
> Sorry.. i cant describe it better, hope you understand!
>
I don't know for sure but from the su manpage -
-m, -p, --preserve-environment
do not reset environment variables, and
keep the same shell
I would think that would do it for you.
kent
--
"In order to make an apple pie from scratch,
you must first create the universe."
- Carl Sagan
Reply to: