Skip to content

Commit

Permalink
Merge pull request #57 from random-archer/dev-dropbear-password
Browse files Browse the repository at this point in the history
dropbear password
  • Loading branch information
Andrei-Pozolotin authored Apr 13, 2020
2 parents 8c75e2f + 2239f31 commit b6d2824
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
17 changes: 11 additions & 6 deletions src/initrd-dropbear.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# note:
# mutually exclusive with initrd-tinysshd.service

# note:
# note:
# for possible issues see
# - https://github.com/random-archer/mkinitcpio-systemd-tool/issues/21

Expand Down Expand Up @@ -68,12 +68,17 @@ InitrdPath=/var/log/lastlog create=yes

# note:
# to enable root password login with dropbear,
# provide system unit override with these lines uncommented:
#
#[Service]
#ExecStart=
#ExecStart=/bin/dropbear -j -k -F -p ${SSHD_PORT}
# provide system unit overrides with these lines uncommented:

# shell unit: /etc/systemd/system/initrd-shell.service.d/override.conf
#
#[X-SystemdTool]
#InitrdBuild=/usr/lib/mkinitcpio-systemd-tool/initrd-build.sh command=do_root_login_enable
#

# dropbear unit: /etc/systemd/system/initrd-dropbear.service.d/override.conf
#
#[Service]
#ExecStart=
#ExecStart=/bin/dropbear -j -k -F -p ${SSHD_PORT}
#
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# note:
# mutually exclusive with initrd-tinysshd.service

# note:
# note:
# for possible issues see
# - https://github.com/random-archer/mkinitcpio-systemd-tool/issues/21

Expand Down Expand Up @@ -69,16 +69,21 @@ InitrdPath=/var/log/lastlog create=yes

# note:
# to enable root password login with dropbear,
# provide system unit override with these lines uncommented:
#
#[Service]
#ExecStart=
#ExecStart=/bin/dropbear -j -k -F -p ${SSHD_PORT}
# provide system unit overrides with these lines uncommented:

# shell unit: /etc/systemd/system/initrd-shell.service.d/override.conf
#
#[X-SystemdTool]
#InitrdBuild=/usr/lib/mkinitcpio-systemd-tool/initrd-build.sh command=do_root_login_enable
#

# dropbear unit: /etc/systemd/system/initrd-dropbear.service.d/override.conf
#
#[Service]
#ExecStart=
#ExecStart=/bin/dropbear -j -k -F -p ${SSHD_PORT}
#

# /etc/systemd/system/initrd-dropbear.service.d/override.conf


Expand Down

0 comments on commit b6d2824

Please sign in to comment.