Hi,
Thank you for your help.
After copying pam_systemd.so to the /usr/lib/security location, the issue got resolved.
Here are the steps:
```
cp /lib/security/pam_systemd.so /usr/lib/security/
$ loginctl list-users
UID USER LINGER
0 root no
1 users listed.
$ loginctl list-sessions
SESSION UID USER SEAT TTY
c1 0 root ttyS0
1 sessions listed.
$
```
On Tue, Feb 13, 2024 at 7:48 PM Sangeetha Elumalai <sangeethaeng2017@xxxxxxxxx> wrote:
Yes, I confirmed this file used by PAM service.On Tue, Feb 13, 2024 at 6:18 PM Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:On 13.02.2024 09:41, Sangeetha Elumalai wrote:
> Hi,
>
> I modified the following file, but I am still facing the issue.
>
> # cat common-session
> #
> # /etc/pam.d/common-session - session-related modules common to all services
> #
And did you verify that this file is actually included by the PAM
service you are using to login?