Christian Perrier wrote: > -the text of the confirmation template is different so we must use a > different template You have to use a different template, but that does not actually imply a different question. For example: db_register passwd/root-password-first passwd/root-password if db_input critical passwd/root-password; then db_go || # backup db_get passwd/root-password first="$RET" db_register passwd/root-password-again passwd/root-password db_input critical passwd/root-password || true db_go || # backup db_get passwd/root-password second="$RET" if [ "$first" != "$second" ]; then # go back to top fi fi db_get passwd/root-password # fill out shadow file here -- see shy jo
Attachment:
signature.asc
Description: Digital signature