Am Mittwoch, 21. März 2018, 09:10:57 CET schrieb Markus Feilner:
Am Montag, 19. März 2018, 14:51:55 CET schrieb Andreas Schwab:
On Mär 19 2018, Peter Suetterlin <pit@astro.su.se> wrote:
On 20180312, bash-4.4-103.1, 'bash -l' *does* read ~/.bashrc
On 20180313, bash-4.4-103.2, 'bash -l' does *not* read ~/.bashrc
Nothing mentioned in the changelog...
The sources didn't change at all, this is just a rebuild.
Andreas.
Hmmm... I am seeing exactly the other side of the story: When I sshfs-mount a remote server, the .bashrc is executed/sourced without leaving a trace in the log files that someone has logged in. Thus I can execute commands and change files without a trace in w, who or last log. Seems weird to me.
I found out because I have a snippet in .bashrc that sends a mail upon login - similar to this:
echo 'Login on' `hostname` `date` `who`| mail -s "Login on `hostname` `who | grep <myusername> | awk '{print $5}'`" <mymailadress@somewhere>
I was surprised to receive a mail upon sshfs login. Oh, just realising $SUBJECT... my task is not restricted to Tumbleweed, works on all Linuxes I tried. Strange, though
-- Markus Feilner Team Lead Documentation P.S.: I moved - new home address: Wöhrdstraße 10, 93059 Regensburg - - - _This incident will be documented._ - - - +49 173 5876 838 (also via Signal), privat: +49 170 302 7092 mfeilner@suse.[com|de] http://www.suse.com G+: https://plus.google.com/+MarkusFeilner Xing: http://www.xing.com/profile/Markus_Feilner LinkedIn: https://www.linkedin.com/in/markusfeilner #mfeilner: Jabber, Skype, Twitter openSUSE: http://www.opensuse.org - - - SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)