Support #20592

shared account logging for annieraw, anniepro

Added by Arthur Kreymer over 2 years ago. Updated about 2 months ago.

Start date:
Due date:
% Done:


Estimated time:
2.00 h
Spent time:
Duration: 20


It is good to keep a record of who has logged into the shared accounts on the interactive systems.
At present these accounts are annieraw and anniepro.

I have adapted scripts presently used by the minos shared accounts.

The logging was deployed around 10 AM Aug 11, 2018.
Details to follow in this Redmine Issue.


#1 Updated by Arthur Kreymer over 2 years ago

  • % Done changed from 80 to 90

The annieraw and anniepro accounts had no .bashr, .bash_profile or .profile .

This left us free to put the logging into a mininal .bashrc file.
To avoid future conflicts, I symlinked .profile and .bash_profile to .bashrc.

.bashrc performs minimal actions when a prompt is present.
This leaves cron and scp activity unaffected.

.bashrc sets the prompt, removes any aliases for standard commands,
enables checkwinsize for better intractive usage,
and invokes the ${HOME}/ script for logging. requires that there be a forwarded kerberos ticket,
logs the user and original host to ${HOME}/log/logins.log
and makes an shrc alias to source a shrc/<username> script if present.

You get a standard environment on logging in, essential for debugging.
You can get a personalised working environment by typing shrc
if you have provided a ${HOME}/shrc/<username> file.

#2 Updated by Arthur Kreymer about 2 months ago

  • % Done changed from 90 to 100
  • Status changed from Assigned to Resolved

Work was completed 2 years ago,

Logging continues to work, see ~/log/logins.log

Resolving the Issue.

Also available in: Atom PDF