Compare commits

...

4 Commits

Author SHA1 Message Date
Michel Roegl-Brunner
d8b25556ed
Merge 13afe3d289 into fad540cf4c 2024-12-17 02:21:29 +01:00
community-scripts-pr-app[bot]
fad540cf4c
Update CHANGELOG.md (#859)
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 23:47:50 +01:00
Håvard Gjøby Thom
9256880c9f
Fix SSH root access in install.func (#858) 2024-12-16 23:43:32 +01:00
Michel Roegl-Brunner
13afe3d289 Fix confif path 2024-12-09 13:18:23 +01:00
3 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,7 @@ Do not break established syntax in this file, as it is automatically updated by
### ❔ Unlabelled
- Fix SSH root access in install.func [@havardthom](https://github.com/havardthom) ([#858](https://github.com/community-scripts/ProxmoxVE/pull/858))
- Fix variable name for CT_TYPE override [@remz1337](https://github.com/remz1337) ([#855](https://github.com/community-scripts/ProxmoxVE/pull/855))
- Keeps the same style after writing the SEARCH icon [@remz1337](https://github.com/remz1337) ([#851](https://github.com/community-scripts/ProxmoxVE/pull/851))

View File

@ -28,7 +28,7 @@ $STD apt-get install -y syncthing
$STD systemctl enable syncthing@root.service
systemctl start syncthing@root.service
sleep 5
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.local/state/syncthing/config.xml
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.config/syncthing/config.xml
systemctl restart syncthing@root.service
msg_ok "Installed Syncthing"

View File

@ -231,6 +231,11 @@ motd_ssh() {
# Disable default MOTD scripts
chmod -x /etc/update-motd.d/*
if [[ "${SSH_ROOT}" == "yes" ]]; then
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
systemctl restart sshd
fi
}
# This function customizes the container by modifying the getty service and enabling auto-login for the root user