This commit is contained in:
Felix Singer 2019-12-06 19:19:15 +11:00 committed by GitHub
commit dd84d9c8f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,6 +80,9 @@ build ()
add_dir "/root/.ssh"
cat /etc/dropbear/root_key > "${BUILDROOT}"/root/.ssh/authorized_keys
groupadd --prefix "${BUILDROOT}" --system -g 0 root
useradd --prefix "${BUILDROOT}" --system -g root -u 0 -M -d /root -s /bin/sh root
add_full_dir "/etc/dropbear"
add_file "/lib/libnss_files.so.2"
add_dir "/var/run"