Commit fee2790
Adjust /etc/shadow permissions to unbreak sudo un some setups
In this Ubuntu 24.04 with podman 4.9.3, this was observed:
+ sudo dnf config-manager --enable crb
sudo: PAM account management error: Authentication service cannot retrieve authentication info
sudo: a password is required
We're not sure of the exact reason this setup exhibits this problem,
or why it does not with `xcp-ng/xcp-ng-build-env:8.3` which has the same
000 permissions on /etc/shadow, but changing the permissions does avoid
the problem there.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
Co-authored-by: Yann Sionneau <yann.sionneau@vates.tech>1 parent ec22871 commit fee2790
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
0 commit comments