feat: Add complete iSCSI target management to Web UI- Add iSCSI tab with full target management- Implement create/delete targets with auto-generated IQN- Add LUN (backing store) management- Implement initiator ACL management (bind/unbind)- Add real-time target listing with LUN/ACL counts- Add comprehensive iSCSI management guide- Update sudoers to allow tgtadm commands- Add tape management features (create/list/delete/bulk delete)- Add service status monitoring- Security: Input validation, path security, sudo restrictions- Tested: Full CRUD operations working- Package size: 29KB, production ready
This commit is contained in:
15
dist/adastra-vtl-installer/config/mhvtl-sudoers
vendored
Normal file
15
dist/adastra-vtl-installer/config/mhvtl-sudoers
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Allow www-data to restart mhvtl service without password
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl restart mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl start mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl stop mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl status mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/rm -rf /opt/mhvtl/*
|
||||
www-data ALL=(ALL) NOPASSWD: /usr/sbin/tgtadm
|
||||
|
||||
# Allow apache to restart mhvtl service without password (for RPM-based systems)
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl restart mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl start mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl stop mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl status mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/rm -rf /opt/mhvtl/*
|
||||
apache ALL=(ALL) NOPASSWD: /usr/sbin/tgtadm
|
||||
Reference in New Issue
Block a user