Bug 82324
Summary: | mozilla-xremote-client ran as root targets non-root mozillas | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Luca Barbieri <ldb> |
Component: | mozilla | Assignee: | Christopher Blizzard <blizzard> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-24 15:20:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Luca Barbieri
2003-01-21 09:58:05 UTC
Mozilla should figure out the name of the profile being used using the LOGNAME env variable. Is LOGNAME different for root and your username? Also, is the user set on the window? Run this command and click on the mozilla window: _MOZILLA_USER(STRING) = "blizzard" _MOZILLA_VERSION(STRING) = "5.0" LOGNAME is the same because I used `su` to become root and it does not change LOGNAME. Why is the login name being used rather than the euid? This causes the execution of `mozilla` to differently depending on whether there is already another instance: in there is, it will be run with the login user privilege, and otherwise with the euid ones (root in this case). Imho this should be changed. Because two people on two seperate systems can have the same logical name but two different UIDs. There are UID mapping daemons that do this. LOGNAME is actually more reliable. NOTABUG |