This chapter contains an example of a basic Wheel Fudo PAM configuration, to monitor SQL queries to a remote MySQL database server.

In this scenario, the user connects to a MySQL database using individual login and password. When establishing the connection with the remote server, Wheel Fudo PAM substitutes the login and the password with the previously defined values: root/password (authorization modes are described in the User authorization modes section).



The following description assumes that the system has been already initiated. For more information on the initiation procedure refer to the System initiation topic.



Adding a server

Server is a definition of the IT infrastructure resource, which can be accessed over one of the specified protocols.

  1. Select Management > Servers.
  2. Click Add.
  1. Provide essential configuration parameters:
Parameter Value
Name mysql_server
Blocked fail
Protocol MySQL
Description fail
Granted users fail
Destination host  
Port 3306
Bind address Any
  1. Click Save.

Adding a user

User defines a subject entitled to connect to servers within monitored IT infrastructure. Detailed object definition (i.e. unique login and domain combination, full name, email address etc.) enables precise accountability of user actions when login and password are substituted with a shared account login credentials.

  1. Select Management > Users.
  2. Click Add.
  1. Provide essential user information:
Parameter Value
Login john_smith
Blocked fail
Account validity Indefinite
Role user
Preferred language English
Full name John Smith
Organization fail
Phone fail
AD Domain fail
LDAP Base fail
Granted users fail
Connections fail
Type Password
Password john
Repeat password john
  1. Click Save.

Adding a listener

Listener determines server connection mode (proxy, gateway, transparent, bastion) as well as its specifics.

  1. Select Management > Listeners.
  2. Click Add.
  1. Provide essential configuration parameters:
Parameter Value
Name mysql_listener
Blocked fail
Protocol Mysql
Granted users fail
Mode proxy
Local address
Port 3306
  1. Click Save.

Adding an account

Account defines the privileged account existing on the monitored server. It specifies the actual login credentials, user authentication mode: anonymous (without user authentication), regular (with login credentials substitution) or forward (with login and password forwarding); password changing policy as well as the password changer itself.

  1. Select Management > Accounts.
  2. Click Add.
  1. Provide essential configuration parameters:
Parameter Value
Name admin_mysql_server
Blocked fail
Type regular
Session recording all
OCR sessions fail
Delete session data after 61 days
Granted users fail
Server mysql_server
Domain fail
Login root
Replace secret with with password
Password password
Repeat password password
Password change policy Static, without restrictions
Password changer  
Password changer None
Privileged user fail
Privileged user password fail
  1. Click Save.

Defining a safe

Safe directly regulates user access to monitored servers. It specifies available protocols’ features, policies and other details concerning users and servers relations.

  1. Select Management > Safes.
  2. Click Add.
  1. Provide essential configuration parameters:
Parameter Value
Name mysql_safe
Blocked fail
Login reason fail
Notifications fail
Policies fail
Users john_smith
Protocol functionality  
RDP fail
SSH fail
VNC fail
admin_mysql_server mysql_listener
  1. Click Save.

Establishing connection with a MySQL database

  1. Launch a command line interface client.
  2. Enter mysql -h -u john_smith -p, to connect to the database server.
  3. Enter the user’s password.
  1. Continue browsing the database contents using SQL queries.

Viewing user session

  1. Open a web browser and go to the Wheel Fudo PAM administration page.
  2. Enter user login and password to log in to Wheel Fudo PAM administration panel.
  1. Select Management > Sessions.
  2. Click Active.
  3. Find John Smith’s session and click i.
../../_images/mysql_ongoing.png ../../_images/player_mysql_session.png

Related topics: