[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ~/.profile and ~/.bash_profile aren't executed on login
From: |
Chet Ramey |
Subject: |
Re: ~/.profile and ~/.bash_profile aren't executed on login |
Date: |
Sun, 10 Dec 2017 16:51:06 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 12/10/17 3:18 PM, Yuri wrote:
> On 12/09/17 14:14, Yuri wrote:
>> None of these files are executed when bash is a user's default shell on
>> FreeBSD.
>> No special options were selected. Despite shell.c saying that they should
>> be executed they just aren't.
>
>
> The bug is that bash doesn't handle login situation when it isn't linked to
> sh.
>
> When I have bash as a user shell (/usr/local/bin/bash) and it isn't
> redirected to sh, it fails to read ~/.profile.
>
>
> Pleas fix this.
You have not described a bug, since you have not demonstrated that bash is
behaving other than how it is documented, nor have you provided answers to
any of the questions you've been asked. You haven't even determined whether
or not bash is being invoked as a login shell at some unspecified point in
the mystery login sequence you're using.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: ~/.profile and ~/.bash_profile aren't executed on login, (continued)
Re: ~/.profile and ~/.bash_profile aren't executed on login, Yuri, 2017/12/10
- Re: ~/.profile and ~/.bash_profile aren't executed on login,
Chet Ramey <=
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Yuri, 2017/12/10
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Geir Hauge, 2017/12/11
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Chet Ramey, 2017/12/11
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Yuri, 2017/12/11
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Greg Wooledge, 2017/12/11
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Chet Ramey, 2017/12/11
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Greg Wooledge, 2017/12/11
- Re: ~/.profile and ~/.bash_profile aren't executed on login, Chet Ramey, 2017/12/11