linux - Python retrieve RUID? -


i using version of python prior 2.7 on linux , wondering how retrieve ruid?

2.7 , later have getresuid the os package cant seem find equivalent 2.6

you can try use psutil library. try uids function:

uids()[source] real, effective , saved user ids of process namedtuple. same os.getresuid() can used every process pid.

availability: unix


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -