Last active
April 26, 2021 03:55
-
-
Save aanari/ea15dcb800c57b3e2532c38d9c9de55d to your computer and use it in GitHub Desktop.
Fix Auth for NoMachine 7.X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run as root | |
cp /etc/pam.d/nx /etc/pam.d/nx.bak | |
cp /etc/pam.d/sshd /etc/pam.d/nx | |
# Depending on where nxserver binary lives: | |
/etc/NX/bin/nxserver –useredit <username> –administrator yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment