run_as doesn't use the nominated users environment (i.e. attempts to use roots X connection)

Bug #1073617 reported by Christopher Lee
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
UTAH
Triaged
Medium
Unassigned

Bug Description

I'm wanting to use the specified users desktop login, but run_as uses roots environment.
I've had to use a work around for this for the time being: command: su -c <user> <command>

Related branches

Revision history for this message
Max Brustkern (nuclearbob) wrote :

We're looking into the best way to implement this without running into permissions issues, and I'll update this further once we have that ready.

Changed in utah:
status: New → Confirmed
Changed in utah:
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in utah:
importance: Medium → High
Revision history for this message
Max Brustkern (nuclearbob) wrote :

I've proposed a merge to fix this.

Changed in utah:
status: Triaged → In Progress
Changed in utah:
assignee: nobody → Max Brustkern (nuclearbob)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

I'm not actively working on this at the moment, but I'll keep my linked branch around for when we get back to this.

Changed in utah:
assignee: Max Brustkern (nuclearbob) → nobody
Changed in utah:
status: In Progress → Triaged
Andy Doan (doanac)
Changed in utah:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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