Public bug reported: Hi,
here is how to reproduce this error: 1. log in to the root account with ssh 2. run "su - some_user_account" Here is what I see in the logs: Feb 28 15:21:45 xeelee su[9843]: Successful su for bonnaudl by root Feb 28 15:21:45 xeelee su[9843]: + /dev/pts/10 root:bonnaudl Feb 28 15:21:45 xeelee su[9843]: pam_unix(su:session): session opened for user bonnaudl by root(uid=0) Feb 28 15:21:45 xeelee su[9843]: pam_systemd(su:session): Cannot create session: Already running in a session Feb 28 15:21:48 xeelee su[9843]: pam_unix(su:session): session closed for user bonnaudl In another usage scenario of "su -" there is no error message and the creation of a new session: févr. 28 15:08:15 vougeot su[18962]: Successful su for bonnaudl by root févr. 28 15:08:15 vougeot su[18962]: + /dev/pts/0 root:bonnaudl févr. 28 15:08:15 vougeot su[18962]: pam_unix(su:session): session opened for user bonnaudl by bonnaudl(uid=0) févr. 28 15:08:15 vougeot systemd-logind[1162]: New session c9 of user bonnaudl. févr. 28 15:08:15 vougeot systemd[1]: Started Session c9 of user bonnaudl. févr. 28 15:08:17 vougeot su[18962]: pam_unix(su:session): session closed for user bonnaudl févr. 28 15:08:17 vougeot systemd-logind[1162]: Removed session c9. ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: libpam-systemd 231-9ubuntu3 Uname: Linux 4.10.1-041001-generic x86_64 ApportVersion: 2.20.3-0ubuntu8.2 Architecture: amd64 CurrentDesktop: KDE Date: Tue Feb 28 15:21:09 2017 EcryptfsInUse: Yes SourcePackage: systemd UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: systemd (Ubuntu) Importance: Undecided Status: New ** Affects: systemd (Debian) Importance: Unknown Status: Unknown ** Tags: amd64 apport-bug yakkety ** Bug watch added: Debian Bug tracker #825949 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825949 ** Also affects: systemd (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825949 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1668641 Title: Error message: pam_systemd(su:session): Cannot create session: Already running in a session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1668641/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs