Vulnerability Development mailing list archives

Re: more locale problems?


From: Damian Menscher <menscher () uiuc edu>
Date: Wed, 22 Nov 2000 19:37:48 -0600

On Wed, 22 Nov 2000, Andrew Griffiths wrote:

$ export LOCPATH=/home/andrewg/stuff
$ su
# set | grep LOCPATH
LOCPATH=/home/andrewg/stuff
# strace /usr/sbin/userhelper 2>&1 | grep andrewg

cool. Now I can specify where a possibly given suid program gets it
output text.

Maybe I'm missing your point, but I think you're just not using the `su`
command properly.  From its manpage (on an Irix 6.5.6m machine):

To become user bin while retaining your previously exported environment,
execute:

     su bin

To become user bin but change the environment to what would be expected
if bin had originally logged in, execute:

     su - bin


Damian Menscher
--
--==## Grad. student & Sys. Admin. @ U. Illinois at Urbana-Champaign ##==--
--==## <menscher () uiuc edu> www.uiuc.edu/~menscher/ Ofc:(217)333-0038 ##==--
--==## Physics Dept, 1110 W Green, Urbana IL 61801 Fax:(217)333-9819 ##==--


Current thread: