Remove User

I am new to Home Assistant. I have it installed on an Intel i3 computer with 4GB memory and 64GB of CFast SSD. I installed hassio directly onto the CFast disk via balenaEtcher and am running version 2023.10.3

I created users that I no longer need. I cannot find how to remove or delete them. It does not seem possible via the web UI by any means.

I have tried SSH and usng docker exec -it homeassistant bash I used vi to edit both /config/.storage/auth and auth_providers.homeassitant I removed all references between {...} in both files for the unwanted users. I then did a full system reboot.

The users are still there.

How do I remove unwanted users from my Home Assistant system please?

Thanks
Pete

Settings, People, Users tab. Select the user and choose Delete User…

Yeah, just found it.

Also - if you have installed HAOS, stay away from SSH (mostly) and definitely Docker.

If you want more control, choose a different install method like Core.

Thanks guys. Having now deleted the offending users via the webUI I find that whilst the two accounts in question have now been disabled, their names and icons remain in Settings > People. Most likely my excursions into docker-lnd may well have consequences.

Your point about staying clear of SSH is well taken. It is usually my forst port of call after the webUI.

I may have to live with my mistake although I’ll try restoting from a backup too.

Thanks again.