NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/58005: passwd always errors out; cannot change passwords anymore
The following reply was made to PR bin/58005; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: Michael Cheponis <michael.cheponis%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: bin/58005: passwd always errors out; cannot change passwords
anymore
Date: Sat, 9 Mar 2024 11:27:22 +0100
The relevant section is:
4387 4387 passwd CALL open(0x7c7c5901242f,0,0x1b6)
4387 4387 passwd NAMI "/etc/passwd.conf"
4387 4387 passwd RET open 3
4387 4387 passwd CALL __fstat50(3,0x7f7fff9fbf60)
4387 4387 passwd RET __fstat50 0
4387 4387 passwd CALL read(3,0x7c7c59b95e00,0x8000)
4387 4387 passwd GIO fd 3 read 159 bytes
"# $NetBSD: passwd.conf,v 1.4 2021/10/26 20:44:45 nia Exp $\n#\n# passwd.conf(5) -\n# password configuration file\n#\n\ndefault:\n local\
cipher = sha1\n ypcipher = sha1\n"
4387 4387 passwd RET read 159/0x9f
4387 4387 passwd CALL close(3)
4387 4387 passwd RET close 0
and it shows that the file is properly read and has this content:
---8<---
# $NetBSD: passwd.conf,v 1.4 2021/10/26 20:44:45 nia Exp $
#
# passwd.conf(5) -
# password configuration file
#
default:
local cipher = sha1
ypcipher = sha1
--->8---
I am not sure if sha1 is useable for your NIS setup (or if that is involved
at all).
Martin
Home |
Main Index |
Thread Index |
Old Index