Re: [systemd-devel] Assistance Needed with 'loginctl list-users' Command Display Issue

2024-02-13 Thread Sangeetha Elumalai
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 UI

Re: [systemd-devel] Assistance Needed with 'loginctl list-users' Command Display Issue

2024-02-13 Thread Sangeetha Elumalai
Yes, I confirmed this file used by PAM service. On Tue, Feb 13, 2024 at 6:18 PM Andrei Borzenkov 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-sess

Re: [systemd-devel] Assistance Needed with 'loginctl list-users' Command Display Issue

2024-02-13 Thread Sangeetha Elumalai
Hi I added pam_systemd module in /etc/pam.d/login file. # cat /etc/pam.d/login authrequisite pam_nologin.so authrequired pam_securetty.so authrequired pam_env.so authrequired pam_unix.so nullok_secure account required pam_access.so