8df9c40d34
Looks like there's some issue with fakeroot as pseudousers created with useradd during package installation have their /etc/tcb/*/shadow files with proper permissions ($user:auth) but shadow- and shadow.lock belong to root:root which makes passwd(1) fail.
9 lines
178 B
Bash
Executable File
9 lines
178 B
Bash
Executable File
#!/bin/sh -e
|
|
# /etc/tcb/<user>/shadow* permissions can be wrong
|
|
# if an account was created from installed package
|
|
|
|
cd /etc/tcb
|
|
for u in *; do
|
|
chown "$u":auth "$u"/shadow*
|
|
done
|