pmbootstrap/pmb
Oliver Smith 1b67c11396
install --ondev: run setup_login for installer OS (MR 2026)
Run setup_login() while creating the installer OS too, in order to
disable passwordless root login.

Note that this may sound like a security flaw, but it isn't.
* setup_login already ran for the target OS, meaning after the
  installation is done, one is not be able to login as root without
  password
* root login without password was only possible via serial console (or by
  attaching a keyboard), not via SSH
* getting root rights via serial in the installer OS is actually desired
  for debugging, we add a debug user with sudo set up by default:
  https://wiki.postmarketos.org/wiki/On-device_installer#Debug_user

So even though this isn't a problem, disable it to avoid confusion.
2021-02-12 11:15:25 +01:00
..
aportgen pmb.aportgen: put dependencies on separate lines (MR 2024) 2021-02-10 00:08:22 +01:00
build treewide: bump copyright to 2021 2021-01-07 23:30:47 +01:00
chroot pmb.config.apk_tools_min_version: support branches (MR 2015) 2021-01-27 22:05:25 +01:00
config kconfig check: require TMPFS_POSIX_ACL (MR 2025) 2021-02-09 23:11:31 +01:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export treewide: bump copyright to 2021 2021-01-07 23:30:47 +01:00
flasher treewide: bump copyright to 2021 2021-01-07 23:30:47 +01:00
helpers pmb: Introduce support for "unmaintained" devices (MR 2018) 2021-02-05 00:39:16 +01:00
install install --ondev: run setup_login for installer OS (MR 2026) 2021-02-12 11:15:25 +01:00
parse pmb: Introduce support for "unmaintained" devices (MR 2018) 2021-02-05 00:39:16 +01:00
qemu pmbootstrap qemu: add --second-storage (MR 2008) 2021-01-27 15:01:53 +01:00
sideload treewide: bump copyright to 2021 2021-01-07 23:30:47 +01:00
__init__.py treewide: bump copyright to 2021 2021-01-07 23:30:47 +01:00