A comprehensive Terminal User Interface (TUI) tool for managing Linux user accounts, groups, and monitoring session activities.
Built with โค๏ธ for Linux System Administration
-
๐ Create User: Set up new user accounts with customizable settings
- โ Username validation
- ๐ Custom home directory
- ๐ Shell selection
- ๐ฅ Primary group assignment
- ๐ Supplementary group membership
-
โ๏ธ Modify User: Update existing user accounts
- ๐ท๏ธ Change username
- ๐ Update full name
- ๐ Relocate home directory
- ๐ Change login shell
- ๐ Reset password
- ๐ฅ Modify group memberships
-
๐๏ธ Delete User: Remove user accounts with option to preserve or delete home directory
-
โน๏ธ User Information: Display detailed user information including UID, GID, groups
- ๐ Create Group: Create new groups with optional GID specification
- โ๏ธ Modify Group: Update group properties
- ๐ท๏ธ Rename groups
- ๐ค Add/remove group members
- ๐๏ธ Delete Group: Remove groups from the system
- โน๏ธ Group Information: View detailed group information
- ๐ User Session Logs: Review login history and session data
- ๐ Login history tracking
- โ Failed login attempt monitoring
- ๐ข Current active sessions
- ๐ Last login information
- โฑ๏ธ Session duration statistics
- ๐ User Activity Summary: View consolidated user activity metrics
- ๐ System-wide Session Statistics: Review system-level login data and uptime
- ๐ง Linux system with root/sudo privileges
- ๐ฌ
dialog
package (for TUI interface) - โ๏ธ Standard Linux user management commands (
useradd
,usermod
, etc.)
git clone https://github.com/KrishnaSaxena108/User-Group-Manager-And-User-Session-Logger.git
cd User-Group-Manager-And-User-Session-Logger
chmod +x Project.sh
# On Debian/Ubuntu
sudo apt-get install dialog
# On RHEL/CentOS/Fedora
sudo yum install dialog
# or
sudo dnf install dialog
Run the script with root privileges:
sudo ./Project.sh
- Use Arrow Keys to navigate
- Use Tab to switch between elements
- Press Enter to select options
- Press Esc to go back or cancel
- โ Input validation for all user entries
โ ๏ธ Confirmation dialogs for destructive operations- ๐ Secure password management through standard Linux tools
- ๐ Detailed action logging with timestamps
- ๐ฎ Permission checking to ensure root-only access
All user and group management actions are logged to:
/var/log/user_management.log
Log Information Includes:
- ๐ Timestamp
- ๐ค User/Group name
- ๐ฏ Action performed
- ๐จโ๐ป Actor who performed the action
User-Group-Manager-And-User-Session-Logger/
โโโ ๐ Project.sh # Main script
โโโ ๐ README.md # This file
โโโ ๐ G19-PID-03.pdf # Project documentation
![]() Tanishq Gupta 2310992384 |
![]() Krishna Saxena 2310991705 |
![]() Ansh Jolly 2310991694 |
![]() Armaan Singh Thind 2310991704 |
This project was developed as part of the Linux System Administration course. Our team focused on creating a user-friendly interface that simplifies complex Linux user and group management tasks while maintaining security and providing comprehensive logging capabilities.
- ๐ฏ Inspired by the need for a user-friendly interface for Linux user management
- ๐ ๏ธ Based on standard Linux user and group management utilities
- ๐ Created for educational purposes as part of Linux System Administration coursework
**Made with โค๏ธ by Our Team **
Linux System Administration Course Project