https://github.com/neo-vortex/tint_acl
Small ACL (Aceess Control List ) written in C++
https://github.com/neo-vortex/tint_acl
acl cpp
Last synced: about 2 months ago
JSON representation
Small ACL (Aceess Control List ) written in C++
- Host: GitHub
- URL: https://github.com/neo-vortex/tint_acl
- Owner: Neo-vortex
- Created: 2022-02-16T22:52:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T07:35:31.000Z (over 1 year ago)
- Last Synced: 2025-02-13T12:44:18.593Z (3 months ago)
- Topics: acl, cpp
- Language: C++
- Homepage:
- Size: 2.87 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tint_ACL
# Command Line User Management Tool
Welcome to the Command Line User Management Tool project! This tool is designed to simplify user and access management operations for system administrators, providing a command-line interface for performing various user-related tasks.
## Table of Contents
- [Features](#features)
- [Getting Started](#getting-started)
- [Usage](#usage)## Features
- User creation and authentication
- Domain and type management
- Access control for users
- Modular and clean C++ codebase
- Error handling with the Error Printer module
- Directory management with Directory Structure Helper
- User-friendly command line interface## Getting Started
### Prerequisites
Before you can use this tool, you'll need the following:
- C++ compiler compatible with C++11
- Git (optional, for cloning the repository)### Installation
### Clone the repository:
```bash
git clone [repository_url]
```
### Build
```bash
make
```## Usage
```bash
# Add a new user
./user_management_tool AddUser [username] [password]# Authenticate a user
./user_management_tool Authenticate [username] [password]# Set a user's domain
./user_management_tool SetDomain [username] [domain]# Get domain information
./user_management_tool DomainInfo [domain]# Set a user's type
./user_management_tool SetType [username] [type]# Get type information
./user_management_tool TypeInfo [type]# Add access for a user
./user_management_tool AddAccess [username] [domain] [type]# Check if a user can access a domain with a specific type
./user_management_tool CanAccess [username] [domain] [type]
```