Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 87597

Summary: XAUTHORITY env var not reset on 'su -'
Product: [Retired] Red Hat Linux Reporter: Karl O. Pinc <kop>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-03-29 21:34:27 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 Karl O. Pinc 2003-03-29 21:30:35 UTC
Description of problem:

Just upgraded my system with the latest updates and found
that 'su - joeuser' from root leaves the XAUTHORITY variable
set to /root/.Xauthority.

So commands like:

xauth extract - $DISPLAY | su -l --command="unset XAUTHORITY ; xauth merge -"
joeuser

need to explicitly unset XAUTHORITY

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info: