Bug 11403

Summary: Incorrect info displayed when running pkexec in a real terminal.
Product: Mageia Reporter: Dave Hodgins <davidwhodgins>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal    
Version: 3   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: polkit-0.107-6.1.mga3.src.rpm CVE:
Status comment:

Description Dave Hodgins 2013-10-08 00:27:55 CEST
While testing a script I'm working on, I used alt+ctrl+f2 to switch to
tty2, logged in as a tester id, then ran the script, but pkexec incorrectly
displayed that it was authenticating as the user on tty1, instead of as root.

Output of the id command
uid=501(tester) gid=501(tester) groups=501(tester)

Output of grep 501 /etc/passwd etc/group
/etc/passwd:tester:x:501:501:tester:/home/tester:/bin/bash
/etc/group:tester:x:501:

The script being executed ...
#!/bin/bash
pkexec '/usr/sbin/copyiso2usb' "$@"

The incorrect info displayed just before the line with Password:
Authenticating as: David W. Hodgins (dave)

In cauldron (at least under virtualbox), it correctly displays
Authenticating as: root


Reproducible: 

Steps to Reproduce:
Comment 1 Dave Hodgins 2013-10-08 00:29:02 CEST
Forgot to mention, pkexec works ok, it's just the info displayed that is
incorrect.
Comment 2 Marja Van Waes 2015-03-31 16:06:26 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD