Skip to content

Add switch-passwd #16

Merged
merged 1 commit into from
Dec 11, 2017
Merged

Add switch-passwd #16

merged 1 commit into from
Dec 11, 2017

Commits on Dec 11, 2017

  1. Add switch-passwd

    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.
    donald committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    47d9bdf View commit details
    Browse the repository at this point in the history