From 146a2390cf6dad358f861c656e76b145c8ea373b Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Thu, 15 Sep 2016 10:14:43 +0200 Subject: T152: VyOS developer builds ship with an easy-to-guess user and password --- data/live-build-config/hooks/09-live.chroot | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data/live-build-config') diff --git a/data/live-build-config/hooks/09-live.chroot b/data/live-build-config/hooks/09-live.chroot index e2f95ff3..f19f0ae6 100755 --- a/data/live-build-config/hooks/09-live.chroot +++ b/data/live-build-config/hooks/09-live.chroot @@ -1,6 +1,11 @@ #!/bin/sh # hack live script that tries to mount ext[23] floppies as root +# remove user settings live config scripts sed -e '/ln -s "${devname}"/,/return 0/ s/^/: FIXME/' \ -i /usr/share/initramfs-tools/scripts/live + +rm -rf /lib/live/config/0030-live-debconfig_passwd +rm -rf /lib/live/config/0030-user-setup +rm -rf /lib/live/config/0040-sudo -- cgit v1.2.3