[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: su - doesn't source .profile
From: |
Chet Ramey |
Subject: |
Re: su - doesn't source .profile |
Date: |
Tue, 31 Oct 2000 15:09:46 -0500 |
> Machine Type: i386-pc-linux-gnu
>
> Bash Version: 2.04
> Patch Level: 0
> Release Status: release
>
> Description:
> su - user -c 'echo foo' does not source .profile.
If this is important to you, uncomment the definition of
NON_INTERACTIVE_LOGIN_SHELLS in config-bot.h and rebuild bash.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/