On 22:11 23 Jan 2002, John P Verel <[EMAIL PROTECTED]> wrote:
| Just tried it.  Two items.    
| 
| Path ends up having /home/john/bin: in it, along with valid root path
| entries.

Well, that's an artifact of /etc/profile just adding, not scrubbing and
then adding I guess. You could reset $PATH ahead of the other junk. Or
snapshot root's pristine environment into a file and just source that
instead of /etc/profile et al.

| History ends up as root's history, not john's history

You _did_ have it in double quites, not single, yes?
It depends on double quotes to pass the _current_ $HISTFILE through.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

I bested him in an Open Season of scouring-people's-postings-looking-for-
spelling-errors.        - [EMAIL PROTECTED] (Kevin Darcy)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to