You are not logged in.
The root user and my user both get messages similar to these printed to the console:
ashley has logged off pts/1 from dnab403c32.
ashley has logged off pts/2 from dnab403c32.
ashley has logged off pts/9 from dnab403c32.
ashley has logged off pts/11 from dnab403c32.
ashley has logged off pts/14 from dnab403c32.
imk1 has logged on pts/11 from bio-hbf03.
ashley has logged on pts/1 from dnab403c32.
ashley has logged on pts/2 from dnab403c32.
ashley has logged on pts/9 from dnab403c32.
ashley has logged on pts/10 from dnab403c32.
I am not sure if other users also get these messages. It isn't necessarily bad to have these messages displayed, but for some reason I cannot figure out what setting controls it. Nothing in rsyslog except emergency messages is set to print to the console. Searching the man pages and google doesn't help me much - but I might just be searching stupidly.
Does anyone know why these messages are displayed?
Thank you,
Mike
Last edited by MikeDacre (2015-07-22 18:39:45)
Home Page: www.michaeldacre.com
Lab: Hunter Fraser's Lab
GPG key: E76370D6
Offline
This problem still happens on every archlinux machine I own and I have no idea how to disable it. Does anyone know?
Home Page: www.michaeldacre.com
Lab: Hunter Fraser's Lab
GPG key: E76370D6
Offline
By any chance are you using csh/tcsh or zsh? If so, did you set the watch variable?
Last edited by mauritiusdadd (2015-07-22 08:26:27)
Offline
Yes, it was!
It is set in the default zshrc at /etc/zsh/zshrc, on line 644. Do you know if there is a way to automatically patch that file every time zsh is updated?
Home Page: www.michaeldacre.com
Lab: Hunter Fraser's Lab
GPG key: E76370D6
Offline
That file is not provided by zsh, but by extra/grml-zsh-config. However, what does
pacman -Qo /etc/zsh/zshrc
says?
By the way, the global configuration is overridden by user configuration files so you can just add
watch=()
to your ~/.zshrc
Last edited by mauritiusdadd (2015-07-22 19:50:23)
Offline
Ah yes, you are right, it is grml-zsh-config that controls that file. I don't want to uninstall that though, as a number of my users use zsh and use functions from that config. I will just have to manually edit that file whenever I upgrade the package to make sure that the login messages don't reappear.
Thanks for your help.
Home Page: www.michaeldacre.com
Lab: Hunter Fraser's Lab
GPG key: E76370D6
Offline