How dbAuth hashing password

hi.
i want to set password of user in /etc/shadow. and user can login with password that store in DB of redwood. but i don’t know how redwood hashing password, and i can’t generate proper string to set in /etc/shadow.

Hey @alireza :wave:

I’m not sure I fully understand the system you’re trying to setup but let me try and help with the dbAuth side of things. When you use dbAuth the hashing of the users plaintext password is ultimately done in this function. Hopefully that is at least a little helpful? Happy to help further if I can.