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!
from "man su"
-m, -p, --preserve-environment
do not reset environment variables, and keep the
same shell
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: