All Projects → egberts → easy-admin

egberts / easy-admin

Licence: MIT License
Scripts for easy system administration

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to easy-admin

gontpd
A high performance NTP daemon written in Go.
Stars: ✭ 48 (+140%)
Mutual labels:  ntp, ntp-server
NTP
NTP library for Arduino framework
Stars: ✭ 20 (+0%)
Mutual labels:  ntp, ntp-client
Yort.Ntp
A cross platform NTP client library for .Net platforms. Allows you to easily retrieve an accurate, current date & time from internet NTP servers.
Stars: ✭ 35 (+75%)
Mutual labels:  ntp, ntp-client
addon-chrony
chrony - Home Assistant Community Add-ons
Stars: ✭ 23 (+15%)
Mutual labels:  ntp, chrony
BashConfig
BASH configuration files.
Stars: ✭ 46 (+130%)
Mutual labels:  bash-script
pdf-scripts
📑 Scripts to repair, verify, OCR, compress, wrangle, crop (etc.) PDFs
Stars: ✭ 33 (+65%)
Mutual labels:  bash-script
kindle-dict
English-Vietnamese Dictionary for Kindle
Stars: ✭ 19 (-5%)
Mutual labels:  bash-script
git-commands-workflows
🚀 All the git commands and workflows you need to know
Stars: ✭ 50 (+150%)
Mutual labels:  bash-script
rsdns
rackspace DNS tools
Stars: ✭ 55 (+175%)
Mutual labels:  bash-script
ubuntu
Install ubuntu in Termux Without Rooted Device
Stars: ✭ 77 (+285%)
Mutual labels:  bash-script
b2ntp
Kanban style New Tab Page extension with your bookmarks and powerful search
Stars: ✭ 50 (+150%)
Mutual labels:  ntp
changemac
change mac address of linux ,ubuntu
Stars: ✭ 17 (-15%)
Mutual labels:  bash-script
bash-cat-with-cat
The classic cat command but with a cat
Stars: ✭ 154 (+670%)
Mutual labels:  bash-script
defaults.sh
 User Defaults Plist → Shell Script converter with Regex filtering
Stars: ✭ 20 (+0%)
Mutual labels:  bash-script
Sistem-programlama
Sistem Programlama Türkçe Kaynak (KTÜ)
Stars: ✭ 30 (+50%)
Mutual labels:  bash-script
coinbash
💰 A bash script (CLI) for displaying crypto currencies market data in a terminal 🖥
Stars: ✭ 110 (+450%)
Mutual labels:  bash-script
HealthChecks-Linux
Script to test various application reverse proxies, as well as their internal pages, and report to their respective Healthchecks.io checks
Stars: ✭ 19 (-5%)
Mutual labels:  bash-script
autohosts
Automate hosts file updates on Linux and MacOS. Block Firefox telemetry, Google snooping and web trackers at the root.
Stars: ✭ 69 (+245%)
Mutual labels:  bash-script
Automated-Login
This is a bash script for automated login to a portal built using 'lynx'. The main motive behind this script is, an automated form entry and submission for any portal without actually visting the website.
Stars: ✭ 13 (-35%)
Mutual labels:  bash-script
nautilus-right-click-new-file
Add a right click context menu in Nautilus to add new documents for Linux desktop.
Stars: ✭ 23 (+15%)
Mutual labels:  bash-script

easy-admin

These scripts are for easy system administration for a simple bare minimum server. These got started within Debian, but soon expanded to include CentOS, Fedora, Redhat, and ArchLinux.

Scripts that would only help white-lab managers; and also to help us bare-metal configurators, test jockeys, cloud virtualizers, network grokkers, and home-bounded computer scientists.

PREMISE: You installed a package using one of those distro package tools. They didn't configure your box correctly or it was barely usable at "basic settings".

SOLUTION: Now we have these bash scripts, that takes you even further in customization.

You run them, it looks at what kind of OS and network interfaces you have, it asks you a few questions, warns you of poor choices, securely writes the configuration files, perfectly so, and starts your services...

Only the way you dictate them.

  • No more accidental security vulnerabilities,
  • No network holes,
  • No hacked box,
  • No more guessing nor remembering settings of many unintelligible keywords.
  • often better than (or at a least equal to) CISecurity

Execute script, read and answer the questions; then be up and running.

Some features are:

  • Minimum Debian packages
  • SCAP/OSCAP settings, default or better
  • custom hardened kernel building
  • easier systemctl usage
  • autoconfigurator for:
    • SSH (OpenSSH)
    • Network managers (systemd-networkd, NetworkManager, ifupdown)
    • DHCP
    • Chrony NTP server/client
    • DNS, ISC Bind9: authoritative, bastion/split-horizon, resolver
    • Shorewall firewall (coming)

Script Nesting

By layering functionality of common environment variables, I was able to easily fold in other Linux distros into the script.

    999-custom-easy-admin-scripts.sh
       |
       V
    maintainer-xxx-xxxx.sh
       |
       V
    distro-os.sh
       |
       V
    easy-admin-installer.sh

The first script layer is easy-admin-installer.sh. It is extremely similar to install tool found in autotool but extended to work in chroot, BUILDROOT and mini private-root filesystem. Contains no active scripting but mostly contains functions for psuedo emulating mkdir, chown, chmod, chcon, and touch.

Second script is distro-os.sh. As the filename implies, it deals with quirkiness of each distribution of Linux OS. Some example of quirks are where to put the /run or /var/run, and sudo or wheel group.

Third script is maintainer-xxx-xxxx.sh. Yeah, each maintainer of the software also throw in their own quirks as well such as unique package name, systemd unit service name. /etc/<what-name-is-that> configuration subdirectory name, and many many more.

File Permission/Ownership

Each scripts generates a shell scripts to ensure file permissions and file ownerships of generated configuration files.

Each script prompts system admins on HOW they want their end-users to interact with such tools and actually ensures this.

Also, having a statically-generated shell script that evokes 'chown/chmod/chcon' ensures that nothing gets changed between distros and between package updates. Meets your QA and Common Criteria too. You do know that distros do do reset file permissions and ownership (much to system admins' angst). This is why some distros chosen over others by the serious system administrators.

Lint Code Base Codacy Security Scan

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].