Difference between revisions of "Recovering From Lost Passwords"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
(Created page with "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 myi...")
 
 
Line 11: Line 11:
 
  /var/lib/pgsql/11/bin/psql -U myipfix -h 127.0.0.1 -c "truncate users;"
 
  /var/lib/pgsql/11/bin/psql -U myipfix -h 127.0.0.1 -c "truncate users;"
 
  /etc/init.d/rosd start
 
  /etc/init.d/rosd start
 
  
  

Latest revision as of 18:15, 15 December 2021

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 127.0.0.1 -c "truncate users;"
/etc/init.d/rosd start


Linux (systemd)

systemctrl stop gigaflow
/var/lib/pgsql/11/bin/psql -U myipfix -h 127.0.0.1 -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 127.0.0.1 -c "truncate users;"
net start gigaflow