diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-09-15 10:14:43 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-09-15 10:14:43 +0200 |
commit | 146a2390cf6dad358f861c656e76b145c8ea373b (patch) | |
tree | e0078aa2a8a49ba32974a8885f2aea7c5abcdf99 /data/live-build-config/hooks | |
parent | 5f83afa7815e866c9539feb1a58269d4555e33fc (diff) | |
download | vyos-build-146a2390cf6dad358f861c656e76b145c8ea373b.tar.gz vyos-build-146a2390cf6dad358f861c656e76b145c8ea373b.zip |
T152: VyOS developer builds ship with an easy-to-guess user and password
Diffstat (limited to 'data/live-build-config/hooks')
-rwxr-xr-x | data/live-build-config/hooks/09-live.chroot | 5 |
1 files changed, 5 insertions, 0 deletions
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 |