Skip to content

gauravchile/LinuxUserAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ Linux Admin/Staff/Guest Access Test

Automates the creation of Linux users with different roles and tests their directory permissions.


🌟 Project Overview

This project demonstrates:

  • Creation of Linux users (Admin, Staff, Guest)
  • Setting proper directory permissions
  • Automated access test script
  • Logging of access results for verification

πŸ“ Project Structure

docs/                        # Screenshots, logs, and documentation
β”‚
β”œβ”€ test_setup.sh.PNG          # Screenshot of setup process
β”œβ”€ user_setup.sh.PNG          # Screenshot of user creation
β”œβ”€ access_test_full.log       # Log file generated by test_permissions.sh
README.md                     # Project documentation
user_setup.sh                 # Script to create users and directories
test_permissions.sh           # Script to test access permissions

All main scripts (user_setup.sh and test_permissions.sh) are outside docs/ for easy execution.


πŸ–ΌοΈ Docs / Screenshots

  • user_setup.sh.PNG – Shows users being created
  • test_setup.sh.PNG – Shows directories and permissions setup
  • access_test_full.log – Generated after running test_permissions.sh

βš™οΈ How to Run

  1. Make the scripts executable:
chmod +x user_setup.sh
chmod +x test_permissions.sh
  1. Run the user setup script to create users and directories:
sudo ./user_setup.sh
  1. Run the automated access test:
sudo ./test_permissions.sh
  1. Check the log file for results:
docs/access_test_full.log

🎯 Skills Demonstrated

  • Linux user and group management
  • Directory permissions and access control
  • Bash scripting for automation
  • Logging and testing role-based access

πŸ’‘ Tips

  • Customize roles or directories in user_setup.sh for different lab setups
  • Use cat docs/access_test_full.log to review results quickly
  • Can be extended to ACL testing or sudo privilege checks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages