cjdns service: ensure that generated passwd has requested length
`head -cNUM ... | tr -dc SET` might generate output containing fewer than NUM characters. Given the limited alphabet, this could result in a fairly weak passphrase. The construction `tr </dev/urandom | head -cNUM`, however, is sure to give us the full `NUM`.
parent
e94bd6f3
Please register or sign in to comment