Score:0

Using SSH authentication configurations for xrdp

cn flag

I have a server where its ssh is configured to allow some users and groups from AD, and the configuration is done in /etc/pam.d/sshd.

However, this configuration is only applied to ssh, and if someone is trying to access the server through RDP, they can access it, and it absolutely makes sense, because the authentication is configured to be done only for SSH not for XRDP. Now I want a way to apply these configurations also to the xrdp, which is running on the server, so that if someone trying to access via XRDP, they should go through the same authentication process as someone goes while trying to ssh.

YaserMow avatar
cn flag
Well, there are a couple of main files in /etc/pam.d/ including comm-auth, I made the configs in this file, and seems to be working, but not sure if that is the way I should do it.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.