| Summary: | subscription-manager cli requires X11 auth? | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | J.C. Molet <jmolet> |
| Component: | subscription-manager | Assignee: | Chris Duryee <cduryee> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.7 | CC: | cduryee, mitr, spandey |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-20 18:38:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 675214 | ||
|
Description
J.C. Molet
2011-04-20 14:23:58 UTC
This appears to be an issue with consolehelper. If you connect to the testuser user via the method above, consolehelper thinks that X is available even when it isn't, and will try to execve consolehelper-gtk. You can test this out by running "eject", which is wrapped the same as subscription-manager is. Note: I am not sure how to reproduce this setup, I was unable to repro locally so I had to use the box in question. *** Bug 698260 has been marked as a duplicate of this bug. *** This behavior of userhelper is intentional: only by using X can the password dialog "grab" the keyboard, preventing other applications from snooping the password. My recommendation is to keep this behavior: users passing broken DISPLAY is, IMHO, a configuration error that no software is required to work around. If you insist on ignoring DISPLAY, you can, for example, set GUI=no in /etc/security/console.apps/your_program. See userhelper(8) for other options. |