[Bug 1645555] Re: Dropbear initramfs hook creates authorized_keys file in an invalid folder

2024-05-03 Thread Stepan Kuklis
Still exists on 24.04 lsinitramfs /boot/initrd.img | grep dropbear etc/dropbear etc/dropbear/dropbear.conf etc/dropbear/dropbear_ecdsa_host_key etc/dropbear/dropbear_ed25519_host_key etc/dropbear/dropbear_rsa_host_key lsinitramfs /boot/initrd.img | grep authorized root-DZvbGZGYW1/.ssh/authorized_k

[Bug 1645555] Re: Dropbear initramfs hook creates authorized_keys file in an invalid folder

2018-12-22 Thread Paul NGUYEN THANH
Everything looks OK in /boot/initrd.img-4.15.0-* etc/group etc/passwd root-xx root-xx/.ssh root-xx/.ssh/authorized_keys NB: root-xx/.ssh/autorized_keys comes from /etc/dropbear- initramfs/authorized_keys must be in 'dropbear' format, not 'openssh' format, then use dropbearkey or d

[Bug 1645555] Re: Dropbear initramfs hook creates authorized_keys file in an invalid folder

2018-07-30 Thread Ibrahim Karahan
Still exists on Ubuntu 18.04: $ sudo lsinitramfs /boot/initrd.img-4.15.0-29-generic | grep root root-Fc4un7 root-Fc4un7/.ssh root-Fc4un7/.ssh/authorized_keys The temp folder created with "$DESTDIR/root-XX" scheme is garbage. It's never renamed to /root folder, thus Dropbear fails to find the

[Bug 1645555] Re: Dropbear initramfs hook creates authorized_keys file in an invalid folder

2017-07-27 Thread Jérôme Drouet
not so fine to me because it changes ~root directory in a way you can not predict/reuse in any other hook for instance : * / # cat /etc/passwd root:*:0:0::/root-nlmn09:/bin/sh / # cd ~# pwd /root-nlmn09 * how can we guess the name in other hooks, let's say to put some files in ~root ? th

[Bug 1645555] Re: Dropbear initramfs hook creates authorized_keys file in an invalid folder

2017-05-29 Thread Jamie Lokier
The temp directory is fine, because the script also generates /etc/passwd setting root's home directory to be the temp directory. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164 Title: Dropbea

[Bug 1645555] Re: Dropbear initramfs hook creates authorized_keys file in an invalid folder

2017-05-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dropbear (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164 Title: D