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

2024-02-12 Thread Andrei Borzenkov
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

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

2024-02-12 Thread Sangeetha Elumalai
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 # # This file is included from other service-specific PAM config files, # and should contain a list of modules that define tasks

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

2024-02-12 Thread Mantas Mikulėnas
Also, if you're using a terminal that doesn't recognize OSCs (it should just ignore unknown ones), export SYSTEMD_URLIFY=0 to disable the hyperlink feature that's making a mess out of systemctl output. On Tue, Feb 13, 2024, 06:53 Sangeetha Elumalai wrote: > Hi, > > The* 'loginctl list-users'*

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

2024-02-12 Thread Mantas Mikulėnas
You need to make sure the PAM configuration for whichever service you're logging in through includes pam_systemd.so in the 'session' group. Check /etc/pam.d on other distributions. (For tty logins it's /etc/pam.d/login, but usually it's indirect via /etc/pam.d/common-session or something along

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

2024-02-12 Thread Andrei Borzenkov
On 13.02.2024 07:52, Sangeetha Elumalai wrote: Hi, The* 'loginctl list-users'* command isn't displaying the user list. I would appreciate any suggestions on resolving this issue. Do I need to enable any specific service for this functionality? Here are the logs: ``` # who root ttyS0

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

2024-02-12 Thread Sangeetha Elumalai
Hi, The* 'loginctl list-users'* command isn't displaying the user list. I would appreciate any suggestions on resolving this issue. Do I need to enable any specific service for this functionality? Here are the logs: ``` # who root ttyS0Feb 15 19:12 # # loginctl list-users No users.

Re: [systemd-devel] Permissions problems with systemd-networkd and others.

2024-02-12 Thread Cristian Rodríguez
On Wed, Feb 7, 2024 at 5:42 PM Murrell, Robert A. wrote: > I finally got everything working. Here is what I did to fix the problem: > > > > adduser systemd-network root > > adduser systemd-resolve root > > adduser bind root > > find /etc -type d -exec chmod 755 {} + > No!.. Now you are

Re: [systemd-devel] timedatectl causing system reset

2024-02-12 Thread Cristian Rodríguez
On Mon, Feb 12, 2024 at 12:17 PM ashok athukuri wrote: > > Hello, > > In my Linux box, Initially both services "systemd-timedated.service" and > "systemd-timesyncd.service" are inactive > When I executed command: > #timedatectl set-ntp true > Failed to set ntp: Connection timed out > > But I

[systemd-devel] timedatectl causing system reset

2024-02-12 Thread ashok athukuri
Hello, In my Linux box, Initially both services "systemd-timedated.service" and "systemd-timesyncd.service" are inactive When I executed command: *#timedatectl set-ntp true* *Failed to set ntp: Connection timed out* But I see both service are started sequentially in the above order, wonder why