PAM-Mysql Authentication in Safesquid
Posted: Fri Nov 19, 2021 9:29 pm
Scenario : - MYSQL PAM Authentication in SAFESQUID.
PROBLEM : -
(/VAR/AUTH.LOGS)
Nov 20 02:17:47 swg safesquid: pam_unix(safesquid:auth): check pass; user unknown
Nov 20 02:17:47 swg safesquid: pam_unix(safesquid:auth): authentication failure; logname=root uid=999 euid=999 tty= ruser= rhost=
STEPS I HAVE FOLLOWED :
1. CREATED ONE TEST USER IN MYSQL DATABASE SAFESQUID WITH COLUMN LOGIN_NAME AND PASSWORD IN USER TABLE ;
2. MADE CONFIG FILE IN /etc/pam_mysql.conf file
3. Added pam_mysql.so in /etc/pam.d/safesquid file
I have also changed the owner of pam_mysql.conf owner ssquid;
Last Step Created Access Restriction Rule on safesquid.cfg
Configure --> Application setup --> Access Restriction
IP address = 192.168.163.164
Pam Authentication = TRUE
username = test (this user is in SAFESQUID Database user table)
Please guide me what mistake i have doing.
PROBLEM : -
(/VAR/AUTH.LOGS)
Nov 20 02:17:47 swg safesquid: pam_unix(safesquid:auth): check pass; user unknown
Nov 20 02:17:47 swg safesquid: pam_unix(safesquid:auth): authentication failure; logname=root uid=999 euid=999 tty= ruser= rhost=
STEPS I HAVE FOLLOWED :
1. CREATED ONE TEST USER IN MYSQL DATABASE SAFESQUID WITH COLUMN LOGIN_NAME AND PASSWORD IN USER TABLE ;
2. MADE CONFIG FILE IN /etc/pam_mysql.conf file
3. Added pam_mysql.so in /etc/pam.d/safesquid file
I have also changed the owner of pam_mysql.conf owner ssquid;
Last Step Created Access Restriction Rule on safesquid.cfg
Configure --> Application setup --> Access Restriction
IP address = 192.168.163.164
Pam Authentication = TRUE
username = test (this user is in SAFESQUID Database user table)
Please guide me what mistake i have doing.