Article ID: 1146, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Virtuozzo containers


Users logged in a container via ssh are not showing up in w/who commands.

This is related to PAM authentication. Virtuozzo kernel does not support audit.
sshd in Redhat AS4-u3 (CentOS 4.3) is trying to connect to kauditd socket using NETLINK.
This operation fails and thus sshd is not adding the record to utmp.
It is a bug in Redhat's patch to sshd.

As a workaround you may set the following settings in /etc/ssh/sshd_config:
UsePAM no
UseLogin yes

After that you need to restart sshd:
/etc/init.d/sshd restart

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF