Forum / NoMachine for Mac / No password is accepted
- This topic has 8 replies, 4 voices, and was last updated 5 days, 1 hour ago by
zaq.
-
AuthorPosts
-
April 18, 2025 at 15:36 #52708
willo
ParticipantI 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 #52713Britgirl
KeymasterHi, 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 #52714Britgirl
KeymasterAdditionally, 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/nx
iii)
ls -ld /etc/pam.d
April 18, 2025 at 19:42 #52718willo
Participant3rdguy@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 #52747Britgirl
KeymasterI should have been more specific, apologies for that. Run those commands again as root in a terminal.
April 22, 2025 at 18:33 #52749willo
ParticipantThe 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 #52766Guro
ContributorHello
Please provide results of the following:
1.
ls -la /Applications/NoMachine.app/Contents/Frameworks/bin/nxexec
to be sure that nxexec had suid flag.
2.
/Applications/NoMachine.app/Contents/Frameworks/bin/nxexec --auth
it 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 #52772willo
Participantxxxx@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 --auth
Password:
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 #52877zaq
ParticipantHello 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.app
2) remove leftovers:
sudo rm /etc/pam.d/nx /etc/pam.d/nxlimits
3) install the debug package.
4) collect logs and send like before.
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.