I don't recall what we discussed in particular, but I ended up putting a test in .bash_profile or .bashrc to check if the SSH connection was coming from the ADDM server, and if so unset the HISTFILE variable. We only have the one ADDM server which does this, so it works adequately.
Ideally ADDM should have its own userid for this purpose, but I went with the stop-gap fix.
Kevin
On Thu, Feb 14, 2019 at 11:36 AM Dean, Marisa (IT.PFMS) < Marisa.Dean@provident.co.uk> wrote:
Hi
Sorry for a random email many years later, I am hoping you take the time to reply.
I came across your post of BMC ADDM spamming bash history and wondered did you ever find a way to stop it doing this and discover in a neater method?
Kind Regards,
*Marisa Dean* *|* Infrastructure Operations Specialist - Linux *|* Provident Financial http://www.providentfinancial.com/ 1 Godwin Street *|* Bradford *|* West Yorkshire *|* BD1 2SU
marisa.dean@provident.co.uk [image: Facebook] http://www.facebook.com/#!/providentfinancial[image: LinkedIn] http://www.linkedin.com/company/provident-financial-group-uk-&-roi
United Kingdom only: Provident is a trading name of Provident Personal Credit Limited. Registered Office: No.1 Godwin Street, Bradford, West Yorkshire, BD1 2SU. Registered number 146091 England. Provident Personal Credit Limited is Authorised and regulated by the Financial Conduct Authority. Financial Services Register Number: 700144.
United Kingdom only: Provident Financial Management Services Limited, Registered in England Company Number 328933. Registered Office: No.1 Godwin Street, Bradford, West Yorkshire BD1 2SU, United Kingdom. Provident Financial Management Services Limited is Authorised and Regulated by the Financial Conduct Authority. Financial Services Register Number: 700139.
Republic of Ireland only: Provident Personal Credit Limited (trading as "Provident") is regulated by the Central Bank of Ireland,. Provident Personal Credit Limited, a private limited company, Rosslare Road, Rochestown, Drinagh, Wexford, Co. Wexford. Branch Number 904339.
Provident Personal Credit Limited Registered Office: No. 1 Godwin Street, Bradford, West Yorkshire, BD1 2SU, United Kingdom. Registered Number 146091 England. A list of names and personal details of every director of the company is available for inspection to the public at the company's registered office for a nominal fee.
DISCLAIMER. The contents of this email and its attachments are intended solely for the original recipients and express the views of the authors and not necessarily the Company. If you are not the intended recipient please delete without copying or forwarding and inform the sender that you received it in error.
Please save paper - don't print this email unless necessary. _______________________________________________ Roundtable mailing list Roundtable@muug.ca https://muug.ca/mailman/listinfo/roundtable