Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Source for /sbin/switch-passwd and switch-passwd.service. The script switch-passwd changes /etc/passwd into a symlink to passwd.mariux (which is disted) and removes "nis" as a passwd source from /etc/nsswitch.conf. These changes are not done, if already done or if gdm is running. On systems with gdm (workstations) which can't upgrade immediately, the service switch-passwd.service is used to do the switch on the next boot. /etc/passwd and /etc/nsswitch.conf are temporarily disabled from pdist on the Distmaster to allow a rolling upgrade. After these files are distributed, all system should execute /sbin/switch-passwd # attempt immediate switch systemctl enable switch-passwd.service After all systems have upgraded (immediate or after reboot) we can re-enable /etc/passwd and /etc/nsswitch.conf in the Distfile and remove these switch-passwd files.
- Loading branch information