Re: Provide more testing feedback (was: Re: Refining the update queues/process)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10-03-05 17:00:12, Till Maas wrote:
 ...
> But it seems that os.getlogin() is too smart for this purposes, e.g.
> for me it always uses the username that started X, even if I "su -" 
> or "sudo -i" into another account.

The Python docs[1] suggest using the environment variable LOGNAME.

[1] <http://docs.python.org/library/os.html#os.getlogin>

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux