diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-03 09:26:33 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-10-03 09:33:16 +0200 |
commit | 64d323299586da646ca847e78255ff2cd8464578 (patch) | |
tree | c0209646ada43b42a321c994daeef1a4f1a7fd5b /src/conf_mode/snmp.py | |
parent | baa12ccf0f6eb092099a9e17444e9efd86a59fcc (diff) | |
download | vyos-1x-64d323299586da646ca847e78255ff2cd8464578.tar.gz vyos-1x-64d323299586da646ca847e78255ff2cd8464578.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.
Diffstat (limited to 'src/conf_mode/snmp.py')
0 files changed, 0 insertions, 0 deletions