diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-05 23:15:00 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-05 23:15:00 +0100 |
commit | a5e7e25ae1cf12050737d4844ae8c3ec43566b84 (patch) | |
tree | 3ccf43c29264349bbde9a043b278434f1eb90f3e /etc | |
parent | e4eeef4ebae8b5d980adbc4d94036fccfceefeb2 (diff) | |
download | itzks-systems-a5e7e25ae1cf12050737d4844ae8c3ec43566b84.tar.gz itzks-systems-a5e7e25ae1cf12050737d4844ae8c3ec43566b84.tar.bz2 itzks-systems-a5e7e25ae1cf12050737d4844ae8c3ec43566b84.zip |
sbin/itzks-update-disklserver-squashfs-images: Create ltsp.conf from ltsp.conf.in template file and use disklserver's root PW for root@<diskless-workstation>.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ltsp/ltsp.conf.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |