c51b28a Read HOME_MODE and UMASK from /etc/login.defs

Authored and Committed by abbra 3 years ago
    Read HOME_MODE and UMASK from /etc/login.defs
    
    shadow-utils changed behavior of UMASK to only apply to runtime
    processes. For home directories, HOME_MODE variable was introduced
    instead.
    
    Read HOME_MODE and fall back to UMASK if that does not exist.
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+9 -4