NoMachine Support

Your questions answered

Knowledge Base

Searching in: Trouble Reports
Filter the search results
Last update:
Searching in: Trouble Reports
ID: TR10P08954
Added on: 2018-10-25
Last update: 2018-12-07
Solved in version: 6.4.6
Platform: All Linux Platforms
Product: NoMachine Server
Severity: Minor
Status: Closed
The server doesn't run the sessreg command on the system even if it's enabled in the configuration

Enabling CommandSessreg in the server configuration for logging users' access to the system doesn't have effect.


As a temporary workaround for logging user's access by SSH, you can add this line:

session optional

to /etc/pam.d/sshd

It will register last login through every SSH connection.

Drawback of this soution is that the other SSH connections via terminal (ssh user@$hostname) will log twice sessions for the user.