How to change the lost password & user id on Macos for HomeAsssitant?

How to change the lost password & user id on Macos for HomeAsssitant?
I tried to “services” but can’t work, please help: I’m a beginner and spent more than 24hours searching for the solution, not able to find, Please help…and step by step, thanks :slight_smile: