summaryrefslogtreecommitdiff
path: root/src/conf_mode/nat.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-03 09:26:33 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-10-03 15:57:29 +0000
commit074870dad33d80e78128736f9e89bdfa1a0e08fd (patch)
treee5477e60216cf0664f1df3333e6c4712dc54a3c5 /src/conf_mode/nat.py
parent5dc9681ac2792520bb9722e0d44a972578264013 (diff)
downloadvyos-1x-074870dad33d80e78128736f9e89bdfa1a0e08fd.tar.gz
vyos-1x-074870dad33d80e78128736f9e89bdfa1a0e08fd.zip
login: T5521: home directory owner changed during reboot
During system startup the system-login.py script is invoked by vyos-router systemd service. As there is no complete configuration available at this point in time - and the sole purpose of this call is to reset/re-render the system NSS/PAM configs back to default - it accidently also deleted the local useraccounts. Once the VyOS configuration got mounted, users got recreated in alphabetical order and thus UIDs flipped and the /home suddenely belonged to a different account. This commit prevents any mangling with the local userdatabase during VyOS bootup phase. (cherry picked from commit 64d323299586da646ca847e78255ff2cd8464578)
Diffstat (limited to 'src/conf_mode/nat.py')
0 files changed, 0 insertions, 0 deletions