wiki:ModificarUsuarios/en

Steps to modify users and password created by default

Web Console

SuperAdministrator

  1. Login in the console with usuog user without selecting any organizational unit.
  2. Right-click on "Users" and choose "New Superadministrator" option.
  3. Fill in data and click on "Accept".
  4. Right-click on "MySQL database User", select "Delete" and click on "Accept".

Administrator by default

  1. Login in the console with superadministrator user without selecting any organizational unit.
  2. Right-click on "Users" and choose "New Administrator" option.
  3. Fill in data and click on "Accept".
  4. Right-click on "Organizational Unit (Default)" and choose "Assign Administrators".
  5. Unmark the default user and put it to you just created.
  6. Right-click on "User by default", select "Delete" and click on "Accept".

MySQL

MySQL root user

From the shell type: mysqladmin -u root -p password 'nuevapassword'

MySQL account to access to DB from web console

  1. From the shell, access to MySQL mysql -p
  2. Rename the user rename user 'usuog'@'localhost' to 'consoleUser'@'localhost';
  3. Change the password for the new user set password for 'consoleUser'@'localhost' = PASSWORD('passConsole');
  4. Modify the config files:
    • /etc/opengnsys/etc/ogAdmAgent.cfg
    • /etc/opengnsys/etc/ogAdmServer.cfg
    • /etc/opengnsys/www/controlacceso.php
  5. Restart the services /etc/init.d/opengnsys restart
  6. At this time there must be a superadministrator user of the application with the same username and password for the account MySQL DB access from the Web console. If not, the client is not able, for example, to retrieve the menu that is assigned.
Last modified 7 years ago Last modified on Jul 14, 2017, 1:07:08 PM