]> git.ipfire.org Git - thirdparty/shadow.git/commit
passwd: Respect --prefix/-P options
authorJaroslav Jindrak <dzejrou@gmail.com>
Fri, 21 Apr 2023 18:50:41 +0000 (20:50 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 9 Jun 2023 14:22:24 +0000 (16:22 +0200)
commit43e60eb681513adc90fbbec67fd23091a46352fe
tree36f17f0d00a4526ea5983757930e784927540225
parentded9cab35d703f21b249d8d534611319f6cf8578
passwd: Respect --prefix/-P options

Add prefix_getpwnam_r() and xprefix_getpwnam() and make passwd
use prefix-aware functions when handling the database.
lib/prototypes.h
libmisc/Makefile.am
libmisc/prefix_flag.c
libmisc/xprefix_getpwnam.c [new file with mode: 0644]
src/passwd.c