Skip to content

Fix "No passwd entry for user '-'" #10

Merged
merged 1 commit into from Sep 27, 2022
Merged

Fix "No passwd entry for user '-'" #10

merged 1 commit into from Sep 27, 2022

Commits on Sep 27, 2022

  1. Fix "No passwd entry for user '-'"

    After the update of the shadow package from version 4.1.5.1 to 4.12.3,
    "su" changed its interpretation of the pattern
    
        su - -
    
    so that the second "-" is now interpreted as the username which leads
    to this error:
    
        starting /run/mariux/mxvip.bla.cfg ..
        starting /run/mariux/mxservice.bla.cfg ..
        No passwd entry for user '-'
    
    Fix this by coding the interpretation of "-" as "root", which is
    specific to mxstartup anyway, explicitly.
    donald committed Sep 27, 2022
    Copy the full SHA
    1a73b59 View commit details
    Browse the repository at this point in the history