Single-instance daemons

Irmen de Jong irmen.NOSPAM at xs4all.nl
Thu Nov 13 02:52:43 EST 2008


Jeffrey Barish wrote:
> Nice.  One thing: how do I get the uid and gid for the target user?  In
> general, I know the name of the target user, but the uid/gid assigned by
> the OS to that user could be different on different systems.

pwd.getpwnam
grp.getgrnam

--irmen



More information about the Python-list mailing list