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

Re: /etc/environment not read by su?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, May 21, 2003 at 12:43:17PM +0200, Reckhard, Tobias wrote:
> So my question is: How can I make su read /etc/environment?

Have it preserve your user environment (if it works there).

su -m

BTW, this also works if you need root to connect an X client to your
display.

- -- 
 .''`.     Baloo Ursidae <baloo@ursine.dyndns.org>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+y2A8J5vLSqVpK2kRAu12AJ4gYHVUViIVrnSeAhbDm3isK2jbNQCgtNme
YR/vmXRrbud4RkT08bI9TYg=
=ge7A
-----END PGP SIGNATURE-----



Reply to: