Yes this is the open source version, and I do have a rstudio file in /etc/pam.d. The OS is RHEL 7.
[localuser@my_hostname~]$ cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"
Pamtester results...This is strange and not sure what to make of it. In both the following cases I am ssh to the VM over my VPN. If I log on using my local/admin account, I get pamtester success passing both my local account and also my AD account ID as the user. However if I am logged on as my AD [non-privileged] user, I am only successful passing the same AD user ID/pw and fails when passing the local user. See below for this example:
[ADuser@my_hostname ~]$ pamtester --verbose rstudio **ADuser** authenticate
pamtester: invoking pam_start(rstudio, ADuser, ...)
pamtester: performing operation - authenticate
Password:
pamtester: **successfully authenticated**
[ADuser@my_hostname ~]$ pamtester --verbose rstudio **localuser** authenticate
pamtester: invoking pam_start(rstudio, localuser, ...)
pamtester: performing operation - authenticate
Password:
pamtester: **Authentication failure**
I'm not sure if there's anything interesting in that. To be clear, I can access the server with both IDs through the normal browser login, provided I am not attempting from a device connected via VPN. I'm on my VPN right now as I test, so what I do is RDP into an on-prem machine, and then from the on-prem machine I can authenticate through the browser.