Fog Password Scheme



  • Dear all,

    I’m trying to understand the password scheme of FOG:
    I have a (more or less) working configuration, but
    I’d like to make things more clear!

    I summarize what I have uderstand up to now …
    if someone wants to integrate, perhaps it will be usefull
    for everyone.

    The reference Fog Installation installation is a
    Linux box (Debian) with both storage node and Web UI
    (DNS and DHCP are on different machines), and 1 user
    configured with

    • user: fog
    • pass: mypass
      On the Linux box I can access via ssh with user fog,
      ftp, with user fog, and tftp

    FOG PASSWORD CONFIGURATION

    In the FOG configuration file commons/config.php

    define( “MYSQL_DATABASE”, “fog” );
    define( “MYSQL_USERNAME”, “root” );
    define( “MYSQL_PASSWORD”, “mypass” );
    This password is used by the Web UI to access the database.
    If wrong - the Web UI says: “Unable to connect to database.”

    define( “TFTP_FTP_USERNAME”, “fog” );
    define( “TFTP_FTP_PASSWORD”, “mypass” );
    This password is used for the FTP access?
    (tftp do not need password)

    define( “STORAGE_FTP_USERNAME”, “fog” );
    define( “STORAGE_FTP_PASSWORD”, “mypass” );
    And this password? For FTP? And the previous one?
    Which is the difference between the 2?

    On the Fog Web UI I have:

    Other Information -> Fog Settings

    FOG Storage Nodes

    FOG_STORAGENODE_MYSQLUSER fogstorage
    FOG_STORAGENODE_MYSQLPASS anotherpass
    (in my configuration here I have a password in the form fsnnnn …
    created at installation time: where is it used?)

    FOG_TFTP_FTP_USERNAME fog
    FOG_TFTP_FTP_PASSWORD mypass
    (same as TFTP_FTP_PASSWORD I imagine)

    Storage Management -> Edit Storage Node Definition
    Management Username: fog
    Management Password: mypass
    (this must match the FTP password of the PC?)

    thanks
    bye
    giammy


 

450
Online

41.5k
Users

11.9k
Topics

113.3k
Posts