Hi @kaushik roy ,
In order to delete all existing data on the device, including SSH Users, AI models and containers you can Update Azure Percept DK over a USB-C connection and then start a new OOBE setup.
There isn't an option to remove previous users "from OOBE setup" but you can do it via SSH using some standard Linux commands to remove SSH users.
- Get the list of user names (service names also will be shown) :
cut -d: -f1 /etc/passwd
- Delete the user in question: :
sudo userdel <users_name>
- DO NOT DELETE any other users as they are used by services.
**Note: ** User names created for SSH only need to be created once. Not every time OOBE is ran. You can "Skip" or "Next" past the SSH pages. The previous username still exists and is usable for SSH "as is". When you get to device setup page, you would pick "Setup as a new device" and choose a new device name. This will create a new device instance in IoT Hub and deploy the appropriate default modules. Finally you can then go to Azure Portal and delete the old/previous Devices in Iot Hub to clean up things.
I hope I could help :).
Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
- Want a reminder to come back and check responses? Here is how to subscribe to a notification.