Unable to login into Tableau Services Manager - PAM authentication failed

0 votes
On Amazon AMI2, I put up tableau. I am able to connect to Tableau Server, however I am unable to log in to TSM (Tableau Server Manager). Nothing occurs when you input your login and password and click the sign-in button. In TSM controller, I see the following logs.

PAM service 'login' failed to authenticate user 'tsm-admin': pam authenticate failed with the following error: Failure to authenticate
I verified that the user tsm-admin exists and is a member of the tsmadmin group. It may also login as a sudo user. I saw the post below that discusses this issue, and I attempted the methods suggested there, but to no avail. https://community.tableau.com/s/question/0D54T00000YuX6aSAF/connexion-to-tsm-webapp-or-tabcmd-failed-failed-to-authenticate-user-tsmadmin-with-pam-service-login-pamauthenticate-failed-authentication-failure

Is there a way to make TSM login work?
Mar 17 in Tableau by Vaani
• 5,040 points
41 views

1 answer to this question.

0 votes

I believe the problem stems from the absence of a password for the user you're trying to log in with (as Diego explains in the link that you have provided).
You may get around this constraint by authenticating your user with pam userdb, but be warned: it's not pretty:
Install the db4 and db4-utils packages.

# yum install db4-utils db4

Make a Berkeley database containing your administrative users and passwords.
Warnings:

The user must be known by the host and most likely a member of the group (tsm-admin should suffice in your instance), and the password must be associated with it.
To be read by pam userdb, the db file must have a.db extension.
The database must be viewable by the tableau instance's unprivileged user (tableau in the example below, adjust according to your needs)

example:

# sudo mkdir -p /etc/tableau/ && cd /etc/tableau
# sudo nano tsm-admins.txt # put one line with the user and one line with the password
# sudo db4_load -T -t hash -f tsm-admins.txt tsm-admins.db
# sudo rm tsm-admins.txt
# sudo chmod go-rw tsm-admins.db
# sudo chown tableau:tableau tsm-admins.db

Create the /etc/pam.d/tableau module with the following content: Warning: the missing .db extension of the db parameter is not a miss, it will be added automatically by the module.

#%PAM-1.0
auth       required       pam_userdb.so db=/etc/tableau/tsm-admins
account    required       pam_userdb.so db=/etc/tableau/tsm-admins

You should then be able to access your TSM UI.
You can add a debug parameter to the pam_userdb line for additional logs in /var/log/secure, you can read about it in the documentation

You may find something useful in the Tableau error messages located in the tableau_server/data/tabsvc/logs/tabadmincontroller/ logs.

answered Mar 22 by Neha
• 6,260 points

Related Questions In Tableau

0 votes
1 answer

Unable to find Layout option in Tableau version 10 - Stories

Hi, The ability to customize the story navigation ...READ MORE

answered Aug 28, 2018 in Tableau by AwesomeSauce
• 860 points
160 views
0 votes
1 answer

How to combine 3 histograms into 1 graph in Tableau?

For combining all the 3 histograms, when ...READ MORE

answered Apr 12 in Tableau by Neha
• 6,260 points
18 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,230 points
7,956 views
0 votes
0 answers

How to export the IdP (Identity provider) XML Metadata from Keycloak which is imported to Tableau?

Keycloak version 1.6.1, Goal: Keycloak should act ...READ MORE

Mar 29, 2018 in Tableau by sdfg
• 5,550 points
1,472 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,230 points
484 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
380 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
298 views
0 votes
1 answer

Unable to open or uninstall Tableau Public 2020

The same thing happened to me. The ...READ MORE

answered Mar 10 in Tableau by Neha
• 6,260 points
29 views
0 votes
1 answer

How to group rows in Tableau into bands?

Use Tableau's built-in Create Group feature View and ...READ MORE

answered Apr 5 in Tableau by Neha
• 6,260 points
27 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP