passwd: Respect --prefix/-P options
Add prefix_getpwnam_r() and xprefix_getpwnam() and make passwd use prefix-aware functions when handling the database.
This commit is contained in:
committed by
Iker Pedrosa
parent
ded9cab35d
commit
43e60eb681
@@ -75,6 +75,7 @@ libmisc_la_SOURCES = \
|
||||
utmp.c \
|
||||
valid.c \
|
||||
xgetpwnam.c \
|
||||
xprefix_getpwnam.c \
|
||||
xgetpwuid.c \
|
||||
xgetgrnam.c \
|
||||
xgetgrgid.c \
|
||||
|
||||
Reference in New Issue
Block a user