[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: Greg Wooledge
Subject: Re: ~/.profile and ~/.bash_profile aren't executed on login
Date: Mon, 11 Dec 2017 13:37:26 -0500
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, Dec 11, 2017 at 10:30:51AM -0800, Yuri wrote:
> On 12/11/17 06:03, Chet Ramey wrote:
> /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?

No.  Because you are logging in with a Display Manager, not a shell.

You first need to identify WHICH Display Manager you are using.  Then
you need to ask your Operating System support people how to configure
the login behavior of that particular DM on your particular OS.

There is no consistency at all.  It is done case by case.

reply via email to

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