Commit graph

2 commits

Author SHA1 Message Date
mxnticek
74c2dd0daf Add comprehensive user management functionality
Features added:
- Create Samba users with password setup (user-create)
- List all Samba users (user-list)
- Delete Samba users with optional system user removal (user-delete)
- Configure share access for users interactively (user-access)
- Revoke user access from specific shares (user-revoke)
- Automatically creates system users if needed
- Interactive share selection for user permissions
- Disables guest access when users are assigned

User management includes:
- Password prompts for new users
- System user creation with no shell access
- Integration with pdbedit for user management
- Automatic valid_users configuration in smb.conf
- Backup creation before any configuration changes

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 20:43:25 +01:00
mxnticek
9c97169799 Initial commit: Universal Samba share manager
Features:
- Auto-detects Linux distribution (Arch, Debian, Ubuntu, Fedora, RHEL, etc.)
- Auto-installs Samba if not present
- Auto-detects current user and network interfaces
- Supports disk discovery and management
- Optional persistent mounting via /etc/fstab
- Safe configuration management with backups

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 20:32:47 +01:00