add-sftp-user/README.md

37 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2025-04-10 16:07:08 +00:00
Version 0.6 Changelogs:
- Implemented separate form for deleting users to avoid requiring password input when deleting
- Fixed SFTP connection "broken pipe" errors by correcting /home directory permissions (root:root with 755)
- Fixed malformed "Subsystemsftp" line in SSH configuration
- Implemented proper chroot jail configuration for SFTP users
- Added bind mounts for webroot access instead of symlinks
- Added cleanup for bind mounts when deleting users
- Implemented structured, multi-level logging system (INFO, ERROR, DEBUG, SUCCESS)
- Created separate log files for different operations
- Fixed issue with logs appearing in command output
- Added validation for user existence before password change or deletion
- Improved error handling and user feedback throughout the addon
2025-04-10 12:10:26 +00:00
Version 0.5 Changelogs:
- Replaced Change Password from list of users to input the username and also a field to input the password
2025-04-07 17:08:03 +00:00
Version 0.4 Changelogs:
- Replaced auto-generated usernames with user-defined usernames
- Added username validation (3-32 characters, alphanumeric + underscore only)
- Implemented duplicate username checking
- Enhanced error handling for invalid username formats
- Added user-friendly error messages for username validation
- Maintained backward compatibility with existing user management
2025-02-26 16:43:55 +00:00
Version 0.3 Changelogs:
- Fixed SSH configuration handling to prevent duplicate Match User entries
- Implemented idempotent sshd_config modification using pattern matching and deduplication
- Added atomic configuration updates with proper indentation handling
- Removed redundant SSH service restarts while maintaining reliability
- Added configuration validation before applying changes
2023-11-08 14:03:34 +00:00
Version 0.2 Changelogs:
- Added a submitUnchanged property to allow submitting the 'Add User' form even if the settings haven't been changed.
- Changed required: true to required: false for the 'Accept User Creation' checkbox
- Changed the return type to info to prevent storing the previous settings.
- Added a user listing to the manageUserform.
- Implemented the removal of a user's directory upon user deletion to maintain an accurate user listing.