staging merge cherry pick DENBUG-120: UI: Cloud user has Read permissions to WiFi configuration - Give the denali user permission to remove the permission of the wpa_supplicant.conf for others. - removing the read permission of the wpa_supplicant conf from others.
DENBUG-117: UI: SRSUI tested by Witekio not 100% passed
- SRSUI 1211: partial tested : RPC and rpcbind appears to be running.
DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup
- Added options for easier and more flexible setup - Added -W to define the DRT type to automatically setup the CloudSync config file, instead of each build pre-setup for each DRT and registration environment - Added -U to let user define the update only setup and bypass the DRT server information. - Improved the output and user interaction.
DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup
- Made the update-only mode the default which seems that is being used more often. - Removed the -U for update and added -E for manufacturing setup.
DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup
- Updated the help (-h) instruction. - Fixed typo in code.
DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup
- fixed a code typo which was asking the user for the manufacturing although the normal update was decided.
DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup
- fixed the typo when asking for the environment
DENBUG-120: UI: Cloud user has Read permissions to WiFi configuration
- removed the sudo group users from all access unless specified to have NO access unless specified. - removed unknown admin and serviceuser groups - removed the cloud user from sudoers Note: - We need to asses the serviceability of the device by removing the sudoers previledges. - A solution command would be to add a specific user for service and add a section in the samve place with root access to enable the service user.
DENBUG-120: UI: Cloud user has Read permissions to WiFi configuration
- Removed the sudo group access revoke and kept the cloud sudo removal.
DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync - removed the CloudSync execution sleep delays, since I reverted that back and it is runnig before UI again it won't need to wait for UI any more, and also the ps command aafter python execution is immediate.