Skip to content
  • Alessandro Rubini's avatar
    root-password: fix for corner cases · 30944c05
    Alessandro Rubini authored
    
    
    The apply_dot-config script was wrong: it wouldn't force on the
    empty root password. Thus, if it is set to something non-empty
    and then changed (by a network dot-config) to empty, it won't work.
    
    This bug only revealed on nfs-root setups.
    
    Now, it's stupid to keep two symbols (ROOT_PWD_CLEAR and ROOT_PWD_CYPHER),
    and I could simplify the script. And re-test. And change docs. No thanks.
    
    Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
    30944c05