https://github.com/darshan-kc/bash-basic-user-authentication
Basic user authentication system using bash script
https://github.com/darshan-kc/bash-basic-user-authentication
bash-script shell
Last synced: 4 months ago
JSON representation
Basic user authentication system using bash script
- Host: GitHub
- URL: https://github.com/darshan-kc/bash-basic-user-authentication
- Owner: Darshan-KC
- Created: 2024-10-21T14:00:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-23T15:32:15.000Z (over 1 year ago)
- Last Synced: 2025-02-09T02:17:40.220Z (over 1 year ago)
- Topics: bash-script, shell
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bash Basic User Authentication
This repository provides a simple user authentication system implemented using a Bash script. It demonstrates how to use user input and conditional logic for authentication purposes.
## Features
- **Username and Password Input**: Prompts users for credentials.
- **Hashed Password Verification**: Passwords are securely hashed using SHA-256.
- **Access Control**: Grants access based on correct username-password combinations.
## Usage
1. Clone the repository.
```bash
git clone https://github.com/Darshan-KC/Bash-Basic-User-Authentication.git
```
2. Run the script.
```bash
./login.sh
```
3. Enter the username and password when prompted.
## Future Enhancements
- Support for multiple users.
- Brute-force attack prevention (account locking).