System authentication fails when using a tied account

Bug #385746 reported by Jon Tai
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenVista/GT.M Integration
Fix Released
High
jeff.apple

Bug Description

Users with programmer mode can execute Linux commands. To protect the system from tied account users, we prompt users for their Linux username and password before allowing them access to programmer mode, even if they hold the programmer mode key.

This worked in our development environments, and even our QA environments which use LDAP authentication. However, on systems that use normal shadow authentication, /sbin/unix_chkpwd prevents the unprivileged Linux tied account ("openvista") from checking passwords of any other Linux user (e.g., "bob"). According to the man page, this is by design - unix_chkpwd only allows users to check their own password. Otherwise, anyone on the system could use it to brute force other users' passwords.

Ideally, we would address this by modifying the PAM configuration or the openvista.dopam() call such that processes running as the openvista Linux user (the tied account) can check the passwords of users in the openvista group, but failures will incur a delay (to protect against brute forcing). For all other users (except root, obviously), the current behavior is fine.

Revision history for this message
Jon Tai (jontai) wrote :

Here's a bug report where someone essentially runs into the same problem, but it's Exim instead of OpenVista that is running as a regular user (uid = 93) and trying to check other users' passwords.

https://bugzilla.redhat.com/show_bug.cgi?id=449256

Revision history for this message
Jon Tai (jontai) wrote :

Note that the uid check is deliberate and NOT a bug, in fact, it was added in response to a security bug: https://bugzilla.redhat.com/show_bug.cgi?id=168180

Jon Tai (jontai)
Changed in openvista-gtm-integration:
importance: Undecided → High
milestone: none → phase1-beta
status: New → Confirmed
description: updated
description: updated
jeff.apple (jeff-apple)
Changed in openvista-gtm-integration:
assignee: nobody → jeff.apple (jeff-apple)
Jon Tai (jontai)
Changed in openvista-gtm-integration:
status: Confirmed → Fix Committed
Jon Tai (jontai)
Changed in openvista-gtm-integration:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.