• Michael Shigorin's avatar
    image.in, stage2: reworked TCB fixup hook · 5427f3af
    Michael Shigorin authored
    The issue at hand is that:
    
    /etc/tcb/USER/shadow gets USER:auth ownership (OK);
    /etc/tcb/USER/shadow- backup file is root:root (broken);
    /etc/tcb/USER/shadow.lock file is also root:root (broken).
    
    This is observed for all pseudousers created by package installation
    process within working chroots as well as for users created by deflogin
    feature; the problem is that e.g. echo USER:PASS | chpasswd will break.
    
    Looks like the cuplrit might be fakeroot/faked.
    5427f3af
Name
Last commit
Last update
.gear Loading commit data...
bin Loading commit data...
conf.d Loading commit data...
doc Loading commit data...
features.in Loading commit data...
image.in Loading commit data...
lib Loading commit data...
pkg.in Loading commit data...
sub.in Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
QUICKSTART Loading commit data...
README Loading commit data...
main.mk Loading commit data...
reports.mk Loading commit data...