Forum / NoMachine for Mac / No password is accepted
- This topic has 8 replies, 4 voices, and was last updated 5 months, 3 weeks ago by
zaq.
-
AuthorPosts
-
April 18, 2025 at 15:36 #52708
willoParticipantI have several users on a Mac running Sequoia 15.4.1. NoMachine free 8.16.1 is set running on the device.
No remote (Mac Sequoia 15.3.2) users can login. Error on client side is bad password. It’s not a bad password.
Problem occurs with both physical and virtual displays
Logs attached.
Attachments:
April 18, 2025 at 17:33 #52713
BritgirlKeymasterHi, logs show an authentication problem related to PAM, which we’ve not encountered on macOS 15.4. But, we noticed you’re using the macOS just released (15.4.1) which we are currently testing and we’ll try and reproduce. In the meantime, please enable debug as per the instructions here https://kb.nomachine.com/DT07S00243 from the macOS server-side, reproduce the error and submit to us here or via email to forum[at]nomachine[dot]com. Please use the title of this topic as the subject of your email. Thanks.
April 18, 2025 at 17:48 #52714
BritgirlKeymasterAdditionally, please open a terminal on the macOS server host and provide the output of:
i)
/usr/bin/install -g wheel -m 644 -o root '/Applications/NoMachine.app/Contents/Frameworks/scripts/etc/pam.d/nx' '/etc/pam.d/'ii)
ls -l /Applications/NoMachine.app/Contents/Frameworks/scripts/etc/pam.d/nxiii)
ls -ld /etc/pam.dApril 18, 2025 at 19:42 #52718
willoParticipant3rdguy@InOffictMacMini ~ % /usr/bin/install -g wheel -m 644 -o root '/Applications/NoMachine.app/Contents/Frameworks/scripts/etc/pam.d/nx' '/etc/pam.d/'install: /etc/pam.d/INS@Dt7ciA: Permission denied
3rdguy@InOffictMacMini ~ % sudo /usr/bin/install -g wheel -m 644 -o root '/Applications/NoMachine.app/Contents/Frameworks/scripts/etc/pam.d/nx' '/etc/pam.d/'
3rdguy@InOffictMacMini ~ % sudo ls -l /Applications/NoMachine.app/Contents/Frameworks/scripts/etc/pam.d/nx
-rw-r--r-- 1 root wheel 289 Nov 15 2021 /Applications/NoMachine.app/Contents/Frameworks/scripts/etc/pam.d/nx
3rdguy@InOffictMacMini ~ % sudo ls -ld /etc/pam.d
drwxr-xr-x 28 root wheel 896 Apr 18 14:40 /etc/pam.d
3rdguy@InOffictMacMini ~ %
Attachments:
April 22, 2025 at 18:10 #52747
BritgirlKeymasterI should have been more specific, apologies for that. Run those commands again as root in a terminal.
April 22, 2025 at 18:33 #52749
willoParticipantThe commands were sudo’d in. do I need to go all the way to root?
(you can see where I pasted them in, got permission denied, the sudo’d before the command)
Output remains the same with sudo.
April 23, 2025 at 15:11 #52766
GuroContributorHello
Please provide results of the following:
1.
ls -la /Applications/NoMachine.app/Contents/Frameworks/bin/nxexecto be sure that nxexec had suid flag.
2.
/Applications/NoMachine.app/Contents/Frameworks/bin/nxexec --authit will ask for user password input and allows to check if nxexec interacts correctly with PAM service.
Use local user credentials and network user too if you have.
April 23, 2025 at 22:28 #52772
willoParticipantxxxx@xxxx-MacBook-Pro bin % ls -la /Applications/NoMachine.app/Contents/Frameworks/bin/nxexec-r-sr-xr-x 1 root wheel 371808 Jan 24 15:26 /Applications/NoMachine.app/Contents/Frameworks/bin/nxexec
SUID flag seems set
xxxx@xxxx-MacBook-Pro bin % sudo /Applications/NoMachine.app/Contents/Frameworks/bin/nxexec --authPassword:
Username:xxxx
User authorized, is member of: staff,everyone,localaccounts,_appserverusr,admin,_appserveradm,_lpadmin,com.apple.sharepoint.group.1,_appstore,_lpoperator,_developer,_analyticsusers,com.apple.access_ftp,com.apple.access_screensharing,com.apple.access_ssh,com.apple.access_remote_ae.Full name: xxxx.
May 5, 2025 at 12:42 #52877
zaqParticipantHello Willo,
We need more details. We prepared a debug installation package (link to download sent via email)
1) could you uninstall NoMachine:
sudo rm -rf /Applications/NoMachine.app2) remove leftovers:
sudo rm /etc/pam.d/nx /etc/pam.d/nxlimits3) install the debug package.
4) collect logs and send like before.
-
AuthorPosts
Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.
