Skip to content

This project is a simple bash script that checks a linux systems for basic security issues. it looks for unsafe user accounts, risky file permissions and open network ports and then it saves the results in a report file. this script will help beginners to understand the basic linux security and system auditing.

Notifications You must be signed in to change notification settings

zameena25/LinuxSecScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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.

About

This project is a simple bash script that checks a linux systems for basic security issues. it looks for unsafe user accounts, risky file permissions and open network ports and then it saves the results in a report file. this script will help beginners to understand the basic linux security and system auditing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages