|
From: | Yuri |
Subject: | Re: ~/.profile and ~/.bash_profile aren't executed on login |
Date: | Sat, 9 Dec 2017 15:41:48 -0800 |
User-agent: | Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 12/09/17 15:24, Chet Ramey wrote:
Of course not: that's not a login shell. As the documentation says, "A login shell is one whose first character of argument zero is a -, or one started with the --login option." The INVOCATION section of the manual page explains it in exhaustive detail.
Ok, but that's not what my situation is. I am just logging in, using the display manager, when user has /usr/local/bin/bash as the shell in passwd.
Why doesn't it execute ~/.profile? Yuri
[Prev in Thread] | Current Thread | [Next in Thread] |