From a5e7e25ae1cf12050737d4844ae8c3ec43566b84 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 5 Jan 2022 23:15:00 +0100 Subject: sbin/itzks-update-disklserver-squashfs-images: Create ltsp.conf from ltsp.conf.in template file and use disklserver's root PW for root@. --- etc/ltsp/ltsp.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/ltsp/ltsp.conf.in b/etc/ltsp/ltsp.conf.in index 0e00294..a9a21a4 100644 --- a/etc/ltsp/ltsp.conf.in +++ b/etc/ltsp/ltsp.conf.in @@ -35,7 +35,7 @@ MASK_SYSTEM_SERVICES="apache2 etckeeper icinga2 nmbd smbd systemd-journald isc-d # Allow local root logins by setting a password hash for the root user. # The hash contains $, making it hard to escape in POST_INIT_x="sed ...". # So put sed in a section and call it at POST_INIT like this: -#POST_INIT_SET_ROOT_HASH="section_set_root_hash" +POST_INIT_SET_ROOT_HASH="section_set_root_hash" #[set_root_hash] -#sed 's|^root:[^:]*:|root:@rootpw@:|' -i /etc/shadow +sed 's|^root:[^:]*:|root:@rootpw@:|' -i /etc/shadow -- cgit v1.2.3