Account and Backup Management

Automating user and group management with Bash scripting, including CSV-based batch operations and directory backups.

Explore Features
Flask Logo
SQLite Logo
HTML Logo

Project Overview

This project focuses on automating server account and backup management through Bash scripting. It provides a robust solution to manage user accounts, groups, and backups with features like:

  • User account creation and management with unique passwords.
  • Group creation, listing, and user assignment.
  • Batch operations using CSV files for user and group addition/removal.
  • Backup and archiving of directories in .tar.gz format.

Key Features

  • Account Management: Automated user creation, group assignments, and removal using Bash commands.
  • CSV Integration: Batch processing for user and group management from CSV files.
  • Backup System: Provides options for single directory, multiple directories, or file-based archiving into .tar.gz files.
  • Error Handling: Includes robust mechanisms to handle inconsistencies and ensure data integrity.
  • Logging: Tracks all operations in dedicated log files for auditing and debugging.

Technical Details

The Bash project demonstrates advanced scripting capabilities and server management skills. Key technologies include:

  • Bash: For scripting and automation of system tasks.
  • Linux Commands: Using useradd, groupadd, and tar for account and backup management.
  • CSV Processing: Parsing and handling user/group data in CSV files.
  • Vim: For efficient script editing and debugging.

For detailed documentation and the complete script, refer to the link below:

Documentation

The detailed project documentation is available below:

Open the Full PDF

Explore the Code

The full code is available on GitHub.

GitHub View on GitHub