[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Failed password for installer on debian Buster netboot when enable network-console password



Hi

1.I did as https://github.com/fincham/kexec-remote-debian-install to remote install debian, it is okay when use debian Stretch netboot file - http://cdn-fastly.deb.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux and http://cdn-fastly.deb.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz

2.But 'failed  password for installer user'(syslog) when use debian Buseter netboot file - http://ftp.us.debian.org/debian/dists/buster/main/installer-amd64/20190410/images/netboot/debian-installer/amd64/linux and http://ftp.us.debian.org/debian/dists/buster/main/installer-amd64/20190410/images/netboot/debian-installer/amd64/initrd.gz

3.file /etc/shadow content: 
installer::1:0:99999:7:::

4.file /etc/passwd content: 
root:*:0:0:root:/:/bin/sh
installer:x:0:0:installer:/:/bin/network-console
sshd:*:100:65534::/run/sshd:/bin/false

5.file /preseed.cfg content(replaced ip address and password)
d-i anna/choose_modules string network-console
d-i preseed/early_command string anna-install network-console

d-i network-console/password password mypassword
d-i network-console/password-again password mypassword

d-i netcfg/choose_interface select enp0s20f0
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_ipaddress string ip address
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string gateway
d-i netcfg/get_nameservers string 8.8.8.8
d-i netcfg/confirm_static boolean true

d-i debian-installer/locale string en_NZ.UTF-8
d-i console-keymaps-at/keymap select us

6.I tried to set new password for installer via shell, but 'passwd: not found' and 'chpasswd: not found'

Reply to: