Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7235

Re: The pythonic way equal to "whoami"

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From TheSaint <nobody@nowhere.net.no>
Newsgroups comp.lang.python
Subject Re: The pythonic way equal to "whoami"
Followup-To comp.lang.python
Date Wed, 08 Jun 2011 21:58:17 +0800
Organization Aioe.org NNTP Server
Lines 9
Message-ID <isnv5p$gla$1@speranza.aioe.org> (permalink)
References <islca0$asr$1@speranza.aioe.org> <mailman.2533.1307458768.9059.python-list@python.org>
NNTP-Posting-Host j+tlNLhYp+qkC421IdmA7w.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Complaints-To abuse@aioe.org
User-Agent KNode/4.4.11
X-Notice Filtered by postfilter v. 0.8.2
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7235

Followups directed to: comp.lang.python

Show key headers only | View raw


Kushal Kumaran wrote:

> os.geteuid
This return 0 for *root* . I don't know if it's a standard for all distro.
Mine is Archlinux.
I'd just like to avoid error caused by wrong access by user

-- 
goto /dev/null

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

The pythonic way equal to "whoami" TheSaint <nobody@nowhere.net.no> - 2011-06-07 22:24 +0800
  Re: The pythonic way equal to "whoami" Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2011-06-07 20:29 +0530
    Re: The pythonic way equal to "whoami" TheSaint <nobody@nowhere.net.no> - 2011-06-08 21:58 +0800
      Re: The pythonic way equal to "whoami" Christopher Head <chead@is.invalid> - 2011-06-08 13:08 -0700
        Re: The pythonic way equal to "whoami" TheSaint <nobody@nowhere.net.no> - 2011-06-09 19:34 +0800
      Re: The pythonic way equal to "whoami" Nobody <nobody@nowhere.com> - 2011-06-09 03:38 +0100

csiph-web