Security Audit Bash Script
This is a bash script I created to automate basic system security checks. It's designed to be simple, fast and easy to use by making it perfect for students, sysadmins or anyone learning cybersecurity.
About
LinuxSecSecurity is designed to be lightweighted, efficient and beginner-friendly and also giving a quick overview of your system's security status.
Think of it as a quick health check for your linux system. It will collect important system infor, checks user accounts and identifies potential risks so we can take action.
What it does is Or Features are
1.Generates a security audit report with the current date in the filename (e.g., security_audit_2025-12-05.txt). 2.Collects important system information , user accounts and key logs. 3.Helps spot potential security risks on Linux systems. 4.Simple and efficient so anyone can run it anytime without hassle.
How to Make & Use the script
- Create a script new file by terminal Use the code "nano security_audit.sh"
- Save the file Use "Ctrl+O" press enter and click "Ctrl+X" to exit
- Make the file executable use the code "chmod +x security_audit.sh"
- Run the script in terminal Use the code ./security_audit.sh
- Check the report
The script will create a file named like security_audit_(date).txt and it will contain the audit results.
Why should we use this is
This does not need for complex tools for a quick security checks, it is great for beginners to learn linux system security basics and this will run anytime to see potential vulnerabilities and system info.