Forget admin user web-ui

I forgot the admin user web-ui and i cant access to de web console. I remember the root password, how do I reset or create a new user to access the web-ui

Welcome to Rockstor @jchang

If you have root access either by console or SSH, then the following should do the trick:

/opt/rockstor/bin/pwreset username password

Replace ‘username’ with admin, and ‘password’ with your chosen new password