Linux vs NetBSD NIS passwords
#11
(07-12-2021, 06:06 PM)KC9UDX Wrote: I checked the domainname and they all agree.

I tried 'su - test' on the client which *worked* to my surprise.



I edited /etc/resolv.conf and changed test.net to the correct domain; NetworkManager apparently put this in there and probably will again; I'll have to investigate NetworkManager.

But since changing that, I restarted nis and rpcbind and now /var/log/auth.log gives more information:
Jul 12 19:15:44 client login[14820]: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty=/dev/pts/1 ruser= rhost=localhost  user=test
Jul 12 19:15:47 client login[14820]: FAILED LOGIN (1) on '/dev/pts/1' from 'localhost' FOR 'test', Authentication failure
Hello,

You have to use an other account than 'root' to make 'su - test', because the password is not asked.
An other test, use an other local account, as 'root' and make 'su - <the other account>', and after 'su - test'. If you haven't restricted the root's rights, this a good way to check the password.

The network domain name and the network NIS domain name are two different things without link. We can suppose that if your hosts are in different network domains, depending of their configuration, it could be more tricky to access to the hosts.

As you can access by 'SSH' to the host and with the extract of your logs, the NetworkManger seems innocent for me.

A classic trap : the fonts ! Have you check that when your are physically on the host and when you type the password, in place of the login per example, the display is good ? It could be good in a graphical session but not in console mode. The console mode is the mode used when you make a 'SSH'. 
I always add the following packages :
  • console-data
  • console-common
  • unicode-data
With Debian : 'dpkg-reconfigure locales'.
  Reply


Messages In This Thread
Linux vs NetBSD NIS passwords - by KC9UDX - 07-03-2021, 02:16 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-10-2021, 01:40 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-10-2021, 05:29 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-10-2021, 10:31 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-12-2021, 01:50 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-12-2021, 02:55 AM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-12-2021, 06:40 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-12-2021, 09:15 AM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-12-2021, 09:23 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-12-2021, 06:06 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-13-2021, 01:40 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-13-2021, 04:03 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-13-2021, 04:00 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-14-2021, 10:18 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-14-2021, 08:21 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-04-2021, 03:20 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-06-2021, 02:48 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 08-18-2021, 04:10 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-18-2021, 10:56 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-18-2021, 03:31 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 08-19-2021, 02:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is the Linux mobile phone still developing? CleanEnvironment 5 1,350 08-07-2024, 06:25 PM
Last Post: KC9UDX
  xz package is severely affected with injected code in some linux distributions. zetabeta 0 696 03-29-2024, 02:57 PM
Last Post: zetabeta
  Has anyone successfully flashed an Ox64 (128Mb) from linux? slondr 3 3,063 02-12-2024, 12:50 AM
Last Post: Pavlos1
  [Article] Ox64 BL808 RISC-V SBC: Booting Linux and (maybe) Apache NuttX RTOS lupyuen 2 1,540 11-04-2023, 08:41 PM
Last Post: lupyuen
  Possible new Pine64 product - Pine Blue Ray DVD Linux tv box Omnios 5 2,542 07-24-2023, 03:21 PM
Last Post: Omnios
  [Article] Booting RISC-V Linux on Star64 JH7110 SBC lupyuen 3 2,325 07-05-2023, 02:04 AM
Last Post: balbes150
  [Article] Inspecting the RISC-V Linux Images for Star64 SBC lupyuen 3 2,234 06-29-2023, 05:09 AM
Last Post: balbes150
  Concerns about Linux future Chief 15 9,124 01-20-2023, 05:23 AM
Last Post: thaleszop
  Online Linux Terminals palak231 1 1,367 09-13-2022, 01:50 PM
Last Post: anonymous
  Linux desktop on a Snapdragon 870 phone. Vasant 0 1,669 06-23-2022, 12:40 PM
Last Post: Vasant

Forum Jump:


Users browsing this thread: 13 Guest(s)