Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.58 KB

File metadata and controls

35 lines (24 loc) · 1.58 KB

LinuxSecScripts

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

  1. Create a script new file by terminal Use the code "nano security_audit.sh"
  2. Save the file Use "Ctrl+O" press enter and click "Ctrl+X" to exit
  3. Make the file executable use the code "chmod +x security_audit.sh"
  4. Run the script in terminal Use the code ./security_audit.sh
  5. 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.