Linux vs NetBSD NIS passwords
#10
I checked the domainname and they all agree.

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

/var/log/auth.log on the client is such:
Jul 12 18:51:14 client login[12661]: FAILED LOGIN (1) on '/dev/pts/1' from 'localhost' FOR 'test', Authentication failure

/var/log/authlog on the server is such:
Jul 12 18:50:41 server rpcbind: connect from 192.168.0.38 to getport/addr(ypserv)

I find this very troubling; /var/log/messages on the client:
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): nameserver '192.168.0.25'
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): domain name 'test.net'
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): state changed bound -> bound

Where 'test.net' comes from and why domainname reports not 'test.net' but the correct domain name is a mystery at this point. The correct domain name is set in /etc/yp.conf

/var/log/kern.log on the client is very old and doesn't show anything related

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
:wq



[ SRA accepts you ]

Everyone wants me to quit using NetBSD
  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
  xz package is severely affected with injected code in some linux distributions. zetabeta 0 396 03-29-2024, 02:57 PM
Last Post: zetabeta
  Has anyone successfully flashed an Ox64 (128Mb) from linux? slondr 3 2,276 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,010 11-04-2023, 08:41 PM
Last Post: lupyuen
  Possible new Pine64 product - Pine Blue Ray DVD Linux tv box Omnios 5 1,819 07-24-2023, 03:21 PM
Last Post: Omnios
  [Article] Booting RISC-V Linux on Star64 JH7110 SBC lupyuen 3 1,728 07-05-2023, 02:04 AM
Last Post: balbes150
  [Article] Inspecting the RISC-V Linux Images for Star64 SBC lupyuen 3 1,558 06-29-2023, 05:09 AM
Last Post: balbes150
  Concerns about Linux future Chief 15 7,198 01-20-2023, 05:23 AM
Last Post: thaleszop
  Online Linux Terminals palak231 1 1,078 09-13-2022, 01:50 PM
Last Post: anonymous
  Linux desktop on a Snapdragon 870 phone. Vasant 0 1,338 06-23-2022, 12:40 PM
Last Post: Vasant
  Linux support for RK3588 adiboc 0 3,506 02-10-2022, 01:16 PM
Last Post: adiboc

Forum Jump:


Users browsing this thread: 5 Guest(s)