Recovering From Lost Passwords

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search

GigaFlow will automatically recreate the admin/admin user/password if it finds that there are no users defined in the system

If prompted for a password by psql it will be myipfix

Change psql command location in command as required for your system.

To remove all users we stop gigaflow, truncate the users table in postgres and restart gigaflow

Linux (non systemd)

/etc/init.d/rosd stop
/var/lib/pgsql/11/bin/psql -U myipfix -h -c "truncate users;"
/etc/init.d/rosd start

Linux (systemd)

systemctrl stop gigaflow
/var/lib/pgsql/11/bin/psql -U myipfix -h -c "truncate users;"
systemctrl start gigaflow

Windows (from command line with admin privileges )

net stop gigaflow
"c:\Program Files\PostgreSQL\10\bin\psql.exe" -U myipfix -h -c "truncate users;"
net start gigaflow