Is there a standard module library function to access /etc/passwd or /etc/group

Irmen de Jong irmen at
Wed Jul 30 14:35:46 CEST 2003

Robin Cull wrote:

> Hi all, 
> I'm writing a script that needs to do lookups on the UNIX passwd and
> groups file on textual usernames/group names and return numeric

Would the pwd and grp modules do the trick?


More information about the Python-list mailing list