Setup Admin Access

After you finish installation, you can access to the following URL to configure your admin user and password.

http://{your_ip}/setup 

You should see the following:

You can setup your admin user and password. After you are done, then you can go to the landing page to login. Your landing page URL is:

http://{your_ip}/ 

What if I lost my Admin password

If you lost your admin password, you can remove the admin user in DB using the following command:



[root@ns505185 ~]# psql -U postgres
psql (12.5)
Type "help" for help.
postgres=# \l
                                  List of databases
    Name    |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges   
------------+----------+----------+-------------+-------------+-----------------------
 class4_dnl | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 postgres   | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 template0  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
            |          |          |             |             | postgres=CTc/postgres
 template1  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
            |          |          |             |             | postgres=CTc/postgres
(4 rows)
postgres=# \c class4_dnl ;
You are now connected to database "class4_dnl" as user "postgres".
class4_dnl=# delete from users where user_id =1;

Once the admin user is removed, you can get on to the /setup page to reset a new admin user.

Last updated