AutoPatch is a lightweight Bash-based Linux security update monitoring utility that checks APT-based systems for available security patches, records the results, and helps administrators stay informed about critical updates.
Designed as a practical Linux administration project, AutoPatch provides an easy way to automate security update monitoring while maintaining detailed logs for auditing and maintenance.
- 🔐 Detects available security updates
- 📦 Checks APT package repositories
- 📝 Generates timestamped security update logs
- ⏰ Supports scheduled execution with cron
- ⚡ Lightweight and easy to deploy
- 🐧 Compatible with Ubuntu, Debian, Kali Linux, Linux Mint, and other APT-based distributions
AutoPatch/
├── autopatch.sh
├── logs/
└── README.md
Clone the repository:
git clone https://github.com/Kachinonye/autopatch.gitNavigate into the project:
cd autopatchMake the script executable:
chmod +x autopatch.shRun manually:
./autopatch.shOr automate with cron:
0 8 * * * /path/to/autopatch/autopatch.sh >> /path/to/autopatch/autopatch_cron.log 2>&1AutoPatch automatically:
- Checks for available security updates
- Displays the results
- Saves timestamped logs
- Maintains a cron execution log
AutoPatch reports:
- Available security updates
- Package names
- Repository information
- Timestamp of each scan
Logs are automatically stored in the logs/ directory.
This project showcases practical experience with:
- Linux System Administration
- Bash Shell Scripting
- APT Package Management
- Linux Security
- Patch Monitoring
- Cron Automation
- Log Management
- Technical Documentation
AutoPatch is useful for:
- Linux System Administrators
- DevOps Engineers
- Cloud Engineers
- Home Lab Environments
- Server Security Monitoring
- Linux Administration Training
Future releases may include:
- Email notifications
- Slack and Discord alerts
- HTML reports
- JSON export
- Automatic update installation
- Severity classification
- CVE reference integration
- Multi-server monitoring
Kachinonye Nmezi
Linux Systems Administrator | Bash Automation Specialist | Cloud Engineering Enthusiast
- GitHub: https://github.com/Kachinonye
- LinkedIn: https://www.linkedin.com/in/kachinonye-nmezi-74170723b/
- Email: kachinonye@gmail.com
Licensed under the MIT License.