Vulnerability Development mailing list archives
Re: more locale problems?
From: dgerow <dgerow () AFFLICTIONS ORG>
Date: Thu, 23 Nov 2000 23:02:35 -0500
* Damian Menscher <menscher () UIUC EDU> [001123 22:45]:
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 ##==--
I may be wrong, but I've got the exact opposite behaviour on a Slackware 7.0 box. "su root" executes /root/.bashrc, while "su - root" keeps my current environment. As for your question, "su" generally translates to "su root" (from my experience). Damian Gerow, SSCP
Attachment:
_bin
Description:
Current thread:
- more locale problems? Andrew Griffiths (Nov 22)
- Re: more locale problems? Erik Tayler (Nov 23)
- Re: more locale problems? Ryan Sweat (Nov 23)
- Re: more locale problems? Damian Menscher (Nov 23)
- Re: more locale problems? dgerow (Nov 25)
- Re: more locale problems? Andrew Griffiths (Nov 25)
- Re: more locale problems? Olaf Kirch (Nov 27)
- Re: more locale problems? Erik Tayler (Nov 23)