Accidently deleted Admin User
-
After a couple days of no sleep I accidently deleted the admin user instead of the recently departed staff members name. Is there any easy way to restore it? No I didn’t have a back up.
Can I simply re-install FOG on my box?
-
I think I found the solution…
Alternatively, if the fog user does not exist, you may create it with the default password via CLI.
mysql -D fog
INSERT INTOusers
(uName
,uPass
,uCreateBy
,uType
) VALUES (‘fog’,‘$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.’,‘localAdmin’,‘0’);
quit -
I believe a reinstall would do the same no ?