[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ~/.profile and ~/.bash_profile aren't executed on login

From: Yuri
Subject: Re: ~/.profile and ~/.bash_profile aren't executed on login
Date: Mon, 11 Dec 2017 10:30:51 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 12/11/17 06:03, Chet Ramey wrote:
Bash, as documented, reads ~/.bash_profile first
when it's invoked as a login shell, falling back to ~/.bash_login and
~/.profile if it's not there.

I just verified: none of these 3 files are executed by bash when user logs in.

/usr/local/bin/bash is set as user's login shell in 'vipw'. So when this user logs in, it must be invoked as a login shell. Is this correct?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]