/etc/init.d/autoconfig support passwd= parameter in cmdline, but doesn't handle it correctly. The code says: ... case "${x}" ... passwd=*) PASSWD="no" PASSWORD="$*" ;; ... Here the code wants, i guess, to put the passwd in cmdline into $PASSWORD. But the code above doesn't work. So that whatever you set after "passwd=" in cmdline, the root password is always empty. Reproducible: Always Steps to Reproduce: 1. change the kernel cmdline, add a passwd=secret in it 2. boot with the changed cmdline 3. check the root password (e.g. via ssh login) Actual Results: the root has no password. Press enter directly will bring you to logged in status. Expected Results: the root password should be set to "secret" I'll upload a patch to fix it.
Created attachment 186312 [details, diff] patch to let autoconfig understand passwd= parameter in cmdline correctly the strlen and parse_opt functions are copied from the initrd of installer cd.
The installer is deprecated.