Florian Lindner wrote: > how can I find out the UID of a username on a linux system? from pwd import getpwnam try: print getpwnam('someuser')[2] except KeyError: pass See <http://www.python.org/doc/current/lib/module-pwd.html>. -- Hallvard