Linux vs NetBSD NIS passwords
#13
If I log in to a Debian client, via ssh as a valid user, 'validuser' uid 1007, and execute `su - test`, this results in the client's /var/log/auth.log:
Code:
Jul 13 16:28:30 client login[15622]: pam_unix(login:session): session opened for user validuser by (uid=0)
Jul 13 16:28:30 client systemd-logind[335]: New session 436 of user validuser.
Jul 13 16:28:31 client systemd: pam_unix(systemd-user:session): session opened for user validuser by (uid=0)
Jul 13 16:28:51 client su: pam_unix(su-l:auth): authentication failure; logname=validuser uid=1007 euid=0 tty=pts/0 ruser=validuser rhost=  user=test
Jul 13 16:28:53 client su: FAILED SU (to test) validuser on pts/0

Also, on the client,
Code:
$ env | grep LANG
LANG=en_US.UTF-8

Thank you for your time with this. We are at the point I ended the last time I tried to determine this problem, at least a year ago (probably more).
I don't know how NIS works on a low level. I can't help but think that for some reason the Linux computers are using the wrong cipher when sending the password to the NIS server. In one of those rare moments of actually finding something useful with a web search, I discovered this today;tThis is on the NIS server:

Code:
#       $NetBSD: passwd.conf,v 1.3 2010/12/03 21:40:04 jmmv Exp $
#
# passwd.conf(5) -
#       password configuration file
#

default:
        localcipher = sha1
        ypcipher = old

The more familiar I get with NetBSD, the more things I discover that I didn't know. I had no idea there was an /etc/passwd.conf.
I suspect 'ypcipher = old' is not what Linux is expecting. I'm not sure what to change it to. I'll probably start by trying 'sha1' and seeing what happens.

That is not the answer. At least, 'ypcipher = sha1' doesn't net success.
: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: 10 Guest(s)