any one able to help Linux with pam informix
Posted in 2012
my req is Local users of linux to use informix under pam
OS SUSE 10 kernal ver is x86_64 2.6.16.60-0.21
Informix 11.10
working settings
sqlhosts
ofa_eadmin onsoctcp 172.51.100.12 4903
ofa_eadmin onsoctcp 172.51.100.12 4904
onconfig
DBSERVERNAME ofa_eadmin # Name of default database server
DBSERVERALIASES ofa_eadmin1 # List of alternate dbservernames
Informix
new setting i have tried as under
new sqlhosts
ofa_eadmin onsoctcp 172.51.100.12 4903
s=4,pam_serv=(odb_pam_services),pamauth=(challenge)
ofa_eadmin1 onsoctcp 172.51.100.12 4904
s=4,pam_serv=(odb_pam_service),pamauth=(challenge)
both password and challenge is not working
odb_pam_services and odb_pam_service file contents
auth required pam_listfile.so onerr=fail item=group sense=allow
file=/etc/login.group.allowed
#inst by paresM-1.0
#auth sufficient pam_rootok.so
auth include common-auth
account include common-account
password include common-password
session include common-session
session optional pam_xauth.so
login.group.allowed now this file is having all groups but my
informix unable to under stand this files eigher sqlhost or
odb_pam_service
after this changes only root and informix are able to connect to
database other users on isql get error 1812 internal error
please help me by giving more details
both password and challenge is not working
ofa_eadmin onsoctcp 172.51.100.12 4903
s=4,pam_serv=(odb_pam_services),pamauth=(password)
ofa_eadmin1 onsoctcp 172.51.100.12 4904
s=4,pam_serv=(odb_pam_service),pamauth=(password)
--047d7bf162e4a11b4404c75c5a2d