Talk:Password Central

From FOG Project
Jump to: navigation, search

Scratch Area

See the Discussions tab at the top for templates and known password locations.
And please, feel free to make adjustments and add content!

Template

Fog's user account on main FOG server

This is a standard user account on the server. It is named 'fog'
Common errors associated with this mismatched password:

  • FOG can't do anything
  • Unexpected, strange errors
  • ...

How to modify this password:

The location varies per operating system.
To reset it, type this at the command line on the Main FOG server:
sudo passwd fog

(Click EDIT to copy the source code of this template)

Known Passwords

Passwords on the Main FOG Server

TFTP Credentials

"Other Information" > "FOG System Settings" > "TFTP Server"

FOG_TFTP_FTP_USERNAME
FOG_TFTP_FTP_PASSWORD

MySQL Root Account

/opt/fog/service/etc/config.php

define( "MYSQL_HOST", "localhost" ); 
define( "MYSQL_DATABASE", "fog" ); 
define( "MYSQL_USERNAME", "root" ); 
define( "MYSQL_PASSWORD", "SQLpassword" );

/var/www/fog/commons/config.php

define( "MYSQL_DATABASE", "fog" );
define( "MYSQL_USERNAME", "root" );
define( "MYSQL_PASSWORD", "SQLpassword" );

NOTE: SQLpassword is usually blank if following the FOG installation instructions.

PXE Boot Menu passwords

See this forum post

Passwords on Storage Nodes

The storage node's management password

"All Current Storage Nodes" > "Edit Storage Node Definition"

Management Username: 
Management Password:

To match what was in "Other Information" > "FOG System Settings" > "TFTP Server"

FOG_TFTP_FTP_USERNAME: 
FOG_TFTP_FTP_PASSWORD:

Storage > Select Storage Node > Edit Storage Node Definition

Management Username: fog
Management Password: [pw of user 'fog' on the storage node]

How to reset:

From the command-line of the Storage Node:
sudo passwd fog


/var/www/fog/commons/config.php
define( "TFTP_FTP_USERNAME", "fog" );
define( "TFTP_FTP_PASSWORD", "****" );
define( "STORAGE_FTP_USERNAME", "fog" );
define( "STORAGE_FTP_PASSWORD", "3b4f2a" );
define( "MYSQL_DATABASE", "fog" );
define( "MYSQL_USERNAME", "root" );
define( "MYSQL_PASSWORD", "" );

How to change:

On the node:
sudo vi /var/www/fog/commons/config.php