]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/rootfiles/packages/i586/samba
samba: Add helper script to pipe password
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 6 Jan 2021 14:38:03 +0000 (14:38 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jan 2021 21:06:57 +0000 (21:06 +0000)
commit37fe3658a04f200732651ae997ff408efd7a92f6
treeae9d6d9ffb859b9367d5c9c8a6ed2d3fa89387d4
parent354c3e2b45d9b3e51a29c8632bd18deb603a811f
samba: Add helper script to pipe password

It is complicated to set the password in the C helper binary.

Therefore it is being set by a helper script.

This is still not an optimal solution since the password might be
exposed to the shell environment, but has the advantage that shell
command injection is no longer possible.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/packages/aarch64/samba
config/rootfiles/packages/armv5tel/samba
config/rootfiles/packages/i586/samba
config/rootfiles/packages/x86_64/samba
config/samba/samba-change-password [new file with mode: 0644]
lfs/samba
src/misc-progs/sambactrl.c