SSH.sh: Don't disable ssh for users during ncp installation

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler
2023-04-15 12:53:53 +02:00
parent 08054a60f6
commit 7e07152dc8
3 changed files with 31 additions and 3 deletions

View File

@ -11,8 +11,6 @@
install() {
apt-get update
apt-get install -y --no-install-recommends openssh-server
systemctl stop ssh
systemctl disable ssh
}
is_active()

View File

@ -1,3 +1,31 @@
# NextcloudPi Changelog
## [v1.51.2](https://github.com/nextcloud/nextcloudpi/tree/v1.51.2) (????-??-??) Restore support for LXC images
### Changes
- LXC images are being provided again (generated from the LXD ones)
- root/webui users are not disabled on container images anymore
- LXD/LXC images receive support for the following ncp apps:
- nc-autoupdate-ncp
- nc-update
- nc-datadir
- nc-database
- UFW
- nc-audit
- SSH
- fail2ban
- nc-nextcloud
- nc-init
- samba
- Add a new utility (command line) script `nc-broadcast` to notify all Nextcloud users
- Notify docker users about the discontinuation of NCP docker (more information [here](https://help.nextcloud.com/t/nextcloudpi-planning-to-discontinue-its-docker-version-with-nc-25))
### Fixes
- Exclude btrfs snapshots from backup monitoring in `ncp-metrics` for all container variants
- Use systemd backend for ssh jail in `fail2ban` (/var/log/auth.log may not be available)
## [v1.51.1](https://github.com/nextcloud/nextcloudpi/tree/v1.51.1) (2023-04-08) Support for Nextcloud 25.0.5 and SSH/updater fixes
### Changes

View File

@ -9,7 +9,7 @@
#
configure()
{
{
(
set +e
@ -22,6 +22,8 @@ configure()
killall postdrop
killall sendmail
[[ -f /usr/local/etc/ncp-config.d/SSH.cfg ]] && systemctl disable ssh
# cleanup all NCP extras
find /usr/local/bin/ncp -name '*.sh' | \
while read script; do cleanup_script $script; done