sshpermitrootno: Use effective configuration #134

Closed
bwaegeneire wants to merge 235 commits from master into fix-129
2 changed files with 8 additions and 2 deletions
Showing only changes of commit f7570ec865 - Show all commits

View file

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [22.11] - 2022-11-28
### Changed
- check_pkgmirror: use our own openbsd mirror
## [22.10] - 2022-10-14
### Changed

View file

@ -3,7 +3,7 @@
# EvoCheck
# Script to verify compliance of an OpenBSD server powered by Evolix
readonly VERSION="22.10"
readonly VERSION="22.11"
# base functions
@ -194,7 +194,7 @@ check_wheel(){
fi
}
check_pkgmirror(){
grep -qE "^https://cdn\.openbsd\.org/pub/OpenBSD" /etc/installurl || failed "IS_PKGMIRROR" "Check whether the right repo is present in the /etc/installurl file"
grep -qE "^https?://ftp\.evolix\.org/openbsd/" /etc/installurl || failed "IS_PKGMIRROR" "Check whether the right repo is present in the /etc/installurl file"
}
check_history(){
file=/root/.profile