Accepts ROOT_PASSWORD from env or reads from /dev/tty (works under curl|bash). When set, pipes it through `chpasswd` via stdin (secret stays out of argv) and installs+enables openssh with PermitRootLogin yes. Skipping leaves the prior no-password behavior intact so pct enter remains the fallback.