mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2025-08-16 16:47:58 +00:00
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:
@ -11,8 +11,6 @@
|
|||||||
install() {
|
install() {
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends openssh-server
|
apt-get install -y --no-install-recommends openssh-server
|
||||||
systemctl stop ssh
|
|
||||||
systemctl disable ssh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
is_active()
|
is_active()
|
||||||
|
28
changelog.md
28
changelog.md
@ -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
|
## [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
|
### Changes
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
(
|
(
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
@ -22,6 +22,8 @@ configure()
|
|||||||
killall postdrop
|
killall postdrop
|
||||||
killall sendmail
|
killall sendmail
|
||||||
|
|
||||||
|
[[ -f /usr/local/etc/ncp-config.d/SSH.cfg ]] && systemctl disable ssh
|
||||||
|
|
||||||
# cleanup all NCP extras
|
# cleanup all NCP extras
|
||||||
find /usr/local/bin/ncp -name '*.sh' | \
|
find /usr/local/bin/ncp -name '*.sh' | \
|
||||||
while read script; do cleanup_script $script; done
|
while read script; do cleanup_script $script; done
|
||||||
|
Reference in New Issue
Block a user