Announcement

Collapse
No announcement yet.

Reset the web interface password

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jruiztr
    replied
    on the terminal
    #open database admin#
    mysql
    #show databases#
    show databases;
    #show users and password#
    select contact_alias, contact_passwd from contact;
    #update the password oreon = 21496cd6c19f4bf6dcfd3ae2ec5f397e #
    update contact set contact_passwd='21496cd6c19f4bf6dcfd3ae2ec5f397e' where contact_alias='admincentreon';

    '#logon on web page with 'oreon' as password#

    Leave a comment:


  • jruiztr
    replied
    how to change the password

    on the terminal
    #open database admin#
    mysql
    #show databases#
    show databases;
    #show users and password#
    select contact_alias, contact_passwd from contact;
    #update the password oreon = 21496cd6c19f4bf6dcfd3ae2ec5f397e #
    update contact set contact_passwd='21496cd6c19f4bf6dcfd3ae2ec5f397e' where contact_alias='admincentreon';

    '#logon on web page with 'oreon' as password#

    Leave a comment:


  • DonKiShoot
    replied
    Originally posted by abc
    [[email protected] ~]# /etc/init.d/httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: [Wed Jun 28 14:04:24 2006] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 575 will probably never match because it overlaps an earlier Alias.
    [ OK ]

    When I tried to see the file /etc/httpd/conf/httpd.conf I found the error in line:
    ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
    Apache says that you define in multiple place some aliases for nagios therefore it overlaps themselves.

    Leave a comment:


  • abc
    replied
    I installed phpmyadmin-2.8.1 but every time when I tried to browse its web interface (http://servername/phpmyadmin/) I got the message:
    The page can not be found

    When I tried to restart the http service I got:
    [[email protected] ~]# /etc/init.d/httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: [Wed Jun 28 14:04:24 2006] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 575 will probably never match because it overlaps an earlier Alias.
    [ OK ]

    When I tried to see the file /etc/httpd/conf/httpd.conf I found the error in line:
    ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

    Which I added when installing Nagios… please note that this error came after I installed the phpmyadmin only; before I used to restart the httpd without any errors!!..

    Any one knows what may be the problem & how can I solve it??!!...

    I installed the phpmyadmin exactly as mentioned in the next link without any errors:
    http://stanton-finley.net/fedora_cor...tml#phpMyAdmin

    Leave a comment:


  • rom
    replied
    You might have a friend who could help you in update a row in MySQL, not so hard...

    Leave a comment:


  • DonKiShoot
    replied
    Originally posted by abc
    Can you please give more details; what the file name is & where to put it exactly??!!

    I am sorry I knew that I asked too many question about this but unfortunately I did not work with Mysql nor phpmyadmin before… ops:

    I used to work in Solaris 8 & my boss asked me to install Nagios & Oreon on fedora core 5 machine in order to monitor the efficiency of our network routers….
    :cry:
    The password is in database and you must reset it in the database.
    The database is mysql (you should easily find documentation on it)
    I suggest you phpmyadmin because you seem to understand nothing about mysql and it is a easy GUI frontend for mysql.

    Unless drop database oreon, rename the strange folder in folder www in "install" and redo the install of oreon.

    Leave a comment:


  • abc
    replied
    Can you please give more details; what the file name is & where to put it exactly??!!

    I am sorry I knew that I asked too many question about this but unfortunately I did not work with Mysql nor phpmyadmin before… ops:

    I used to work in Solaris 8 & my boss asked me to install Nagios & Oreon on fedora core 5 machine in order to monitor the efficiency of our network routers….
    :cry:

    Leave a comment:


  • abc
    replied
    In the file ( /usr/local/oreon/www/include/configuration/configObject/contact/DB-Func.php )

    I found the lines:
    isset($ret["contact_passwd"]) && $ret["contact_passwd"] != NULL ? $rq .= "'".md5($ret["contact_passwd"])."', ": $rq .= "NULL, ";

    if (isset($ret["contact_oreon"]["contact_oreon"]) && $ret["contact_oreon"]["contact_oreon"] && isset($ret["contact_passwd"]) && $ret["contact_passwd"])
    $rq .= "contact_passwd = '".md5($ret["contact_passwd"])."', ";


    Do you mean put the new password here??!! .... & where exactly we have to put it??!!....
    :?

    Leave a comment:


  • DonKiShoot
    replied
    No !

    In mysql !

    use phpmyadmin if you don't know sql.

    Leave a comment:


  • abc
    replied
    which contact table you mean??!!!.. :roll:
    what is the admin contact file name??!!.....

    Is it here:
    # ls -l /usr/local/oreon/www/include/options/db/extractDB
    total 20
    -rwxrwxr-x 1 apache apache 2312 Jun 28 08:54 extractDB.php
    -rwxrwxr-x 1 apache apache 5176 Jun 26 10:16 extract_sub.php



    Or here:

    # ls -l /usr/local/oreon/www/include/configuration/configObject/contact
    total 80
    -rwxrwxr-x 1 apache apache 13441 Jun 26 10:16 DB-Func.php
    -rwxrwxr-x 1 apache apache 2315 Jun 26 10:16 contact.php
    -rwxrwxr-x 1 apache apache 4522 Jun 26 10:16 formContact.ihtml
    -rwxrwxr-x 1 apache apache 13032 Jun 26 10:16 formContact.php
    -rwxrwxr-x 1 apache apache 2296 Jun 26 10:16 listContact.ihtml
    -rwxrwxr-x 1 apache apache 6648 Jun 26 10:16 listContact.php

    Leave a comment:


  • rom
    replied
    English style :wink: :

    Go in oreon db -> browse 'contact' table and update your passwd account with a md5 password.
    For example : 21496cd6c19f4bf6dcfd3ae2ec5f397e = 'oreon'

    Leave a comment:


  • julio
    replied
    au pire va dans la base oreon, la table contact et change le path de l'admin

    pour exemple oreon = 21496cd6c19f4bf6dcfd3ae2ec5f397e en crypté. change juste le pass.

    bidouille bidouille

    Leave a comment:


  • kyo
    replied
    reinstall oreon :roll:
    the password is crypted in the database
    :wink:

    Leave a comment:


  • abc
    started a topic Reset the web interface password

    Reset the web interface password

    Hi,

    I forgot Oreon 1.3RC web interface password… how can I reset the web interface login name and password??!!!...

    :cry:
Working...
X