Scripts used for computer administration.
  • Shell 85%
  • Python 15%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-26 17:32:31 +02:00
applications More client configuration for apt-cacher-ng. Requires bashmisclib 1.3.1. 2026-08-26 17:32:31 +02:00
ufw Add UFW configuration for apt-cacher-ng. 2026-08-19 18:58:19 +02:00
.gitignore Add syncthing_maintenance.py and syncthing_maintenance.sh. 2026-06-12 16:42:53 +02:00
adminutils.sublime-project Add Sublime Text project. 2026-05-29 18:53:29 +02:00
bashmisclib.sh More client configuration for apt-cacher-ng. Requires bashmisclib 1.3.1. 2026-08-26 17:32:31 +02:00
flatpak_install.sh Update readme. 2026-07-15 18:15:04 +02:00
LICENSE Update bashmisclib to v1.1.0. Add ssh_client_hardening.sh and sshd_server_hardening.sh. 2026-07-20 20:25:09 +02:00
perform_updates.sh perform_updates.sh: Now requires bashmisclib.sh. 2026-07-15 18:12:52 +02:00
README.md Update bashmisclib to v1.1.0. Add ssh_client_hardening.sh and sshd_server_hardening.sh. 2026-07-20 20:25:09 +02:00
ssh_client_hardening.sh Update bashmisclib to v1.1.0. Add ssh_client_hardening.sh and sshd_server_hardening.sh. 2026-07-20 20:25:09 +02:00
sshd_server_hardening.sh Update bashmisclib to v1.1.0. Add ssh_client_hardening.sh and sshd_server_hardening.sh. 2026-07-20 20:25:09 +02:00

adminutils

A collection of scripts used for computer administration.

Requirements

  • A somewhat recent version of bash. Currently tested on 5.2.21.
  • A Unix-like operating system. Currently testen on Linux. Effort will be made to support the BSD-variants.

Content

bashmislib.sh

A collection of functions used by the other scripts.

flatpak_install.sh

Install flatpak and add flathub repository.

forgejo_update.sh

Update the local forgejo executable to the given version.

perform_updates.sh

Updates any of the following, if found: - apt packages - flatpak packages - snap packages - host firmware

If running as a non-privileged user, sudo is automatically used to escalate privileges where required.

ssh_client_hardening.sh

Attempt to configure the current user SSH client to use only algorithms and

features with no known vulnerabilities.

sshd_server_hardening.sh

Attempt to configure the local SSH server to use only algorithms and features with no known vulnerabilities.

syncthing_install.sh

Install Syncthing.

syncthing_maintenance.sh

Find all sync conflict files in all synced directories managed by Syncthing and delete them.